Changeset 103


Ignore:
Timestamp:
Oct 20, 2017, 6:27:13 PM (8 years ago)
Author:
bird
Message:

kDefs.h: GNU hurd.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/k/kDefs.h

    r100 r103  
    4747/** FreeBSD. */
    4848#define K_OS_FREEBSD    3
     49/** GNU/Hurd. */
     50#define K_OS_GNU_HURD   4
    4951/** GNU/kFreeBSD. */
    50 #define K_OS_GNU_KFBSD  4
     52#define K_OS_GNU_KFBSD  5
    5153/** GNU/kNetBSD or GNU/NetBSD or whatever the decide to call it. */
    52 #define K_OS_GNU_KNBSD  5
     54#define K_OS_GNU_KNBSD  6
    5355/** Linux. */
    54 #define K_OS_LINUX      6
     56#define K_OS_LINUX      7
    5557/** NetBSD. */
    56 #define K_OS_NETBSD     7
     58#define K_OS_NETBSD     8
    5759/** NT (native). */
    58 #define K_OS_NT         8
     60#define K_OS_NT         9
    5961/** OpenBSD*/
    60 #define K_OS_OPENBSD    9
     62#define K_OS_OPENBSD    10
    6163/** OS/2 */
    62 #define K_OS_OS2        10
     64#define K_OS_OS2        11
    6365/** Solaris */
    64 #define K_OS_SOLARIS    11
     66#define K_OS_SOLARIS    12
    6567/** Windows. */
    66 #define K_OS_WINDOWS    12
     68#define K_OS_WINDOWS    13
    6769/** The max K_OS_* value (exclusive). */
    68 #define K_OS_MAX        13
     70#define K_OS_MAX        14
    6971/** @} */
    7072
     
    8991# elif defined(__FreeBSD_kernel__)
    9092#  define K_OS      K_OS_GNU_KFBSD
     93# elif defined(__gnu_hurd__)
     94#  define K_OS      K_OS_GNU_HURD
    9195# elif defined(__gnu_linux__)
    9296#  define K_OS      K_OS_LINUX
Note: See TracChangeset for help on using the changeset viewer.