This adds a missing OS definition to kDefs.h needed to build the Haiku GA.
(I wasn't sure if the other numbers were required to be fixed as part of an ABI so I just appended but feel free to change it.)
Index: src/libs/kStuff/kStuff/include/k/kDefs.h =================================================================== --- src/libs/kStuff/kStuff/include/k/kDefs.h (revision 64) +++ src/libs/kStuff/kStuff/include/k/kDefs.h (working copy) @@ -60,8 +60,10 @@ #define K_OS_SOLARIS 9 /** Windows. */ #define K_OS_WINDOWS 10 +/** Haiku */ +#define K_OS_HAIKU 11 /** The max K_OS_* value (exclusive). */ -#define K_OS_MAX 11 +#define K_OS_MAX 12 /** @} */ /** @def K_OS @@ -82,6 +84,8 @@ # define K_OS K_OS_DRAGONFLY # elif defined(__FreeBSD__) /*??*/ # define K_OS K_OS_FREEBSD +# elif defined(__HAIKU__) +# define K_OS K_OS_HAIKU # elif defined(__gnu_linux__) # define K_OS K_OS_LINUX # elif defined(__NetBSD__) /*??*/
_______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
