VirtualBox

Changeset 1601 in kBuild for trunk/src/lib/k


Ignore:
Timestamp:
May 5, 2008 10:15:37 PM (17 years ago)
Author:
bird
Message:

Added K_OS_DRAGONFLY w/ detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/k/kDefs.h

    r1379 r1601  
    1 /* $Id: kDefs.h 3598 2007-10-04 18:46:12Z bird $ */
     1/* $Id: kDefs.h 15 2008-05-05 22:14:33Z bird $ */
    22/** @file
    33 *
     
    3939/** Darwin - aka Mac OS X. */
    4040#define K_OS_DARWIN     1
     41/** DragonFly BSD. */
     42#define K_OS_DRAGONFLY  2
    4143/** FreeBSD. */
    42 #define K_OS_FREEBSD    2
     44#define K_OS_FREEBSD    3
    4345/** Linux. */
    44 #define K_OS_LINUX      3
     46#define K_OS_LINUX      4
    4547/** NetBSD. */
    46 #define K_OS_NETBSD     4
     48#define K_OS_NETBSD     5
    4749/** NT (native). */
    48 #define K_OS_NT         5
     50#define K_OS_NT         6
    4951/** OpenBSD*/
    50 #define K_OS_OPENBSD    6
     52#define K_OS_OPENBSD    7
    5153/** OS/2 */
    52 #define K_OS_OS2        7
     54#define K_OS_OS2        8
    5355/** Solaris */
    54 #define K_OS_SOLARIS    8
     56#define K_OS_SOLARIS    9
    5557/** Windows. */
    56 #define K_OS_WINDOWS    9
     58#define K_OS_WINDOWS    10
    5759/** The max K_OS_* value (exclusive). */
    58 #define K_OS_MAX        10
     60#define K_OS_MAX        11
    5961/** @} */
    6062
     
    7375# if defined(__APPLE__)
    7476#  define K_OS      K_OS_DARWIN
     77# elif defined(__DragonFly__)
     78#  define K_OS      K_OS_DRAGONFLY
    7579# elif defined(__FreeBSD__) /*??*/
    7680#  define K_OS      K_OS_FREEBSD
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette