From: drepper Date: Wed, 3 Dec 1997 23:00:19 +0000 (+0000) Subject: Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME and X-Git-Tag: libc-ud-971204~46 X-Git-Url: http://git.csclub.uwaterloo.ca/?p=kopensolaris-gnu%2Fglibc.git;a=commitdiff_plain;h=10d51493ee3f96f6e115d337e1ae8cd24c8ad0d0;hp=89b61f9293d398d1fca9d44353c0d2c553615b93 Define _XOPEN_LEGACY. Explain _XOPEN_REALTIME and _XOPEN_REALTIME_THREADS. Include bits/environments.h. --- diff --git a/posix/unistd.h b/posix/unistd.h index f14e02d02b..2fbdae5652 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -77,6 +77,9 @@ __BEGIN_DECLS are present. */ #define _XOPEN_ENH_I18N 1 +/* The legacy interfaces are also available. */ +#define _XOPEN_LEGACY 1 + /* Get values of POSIX options: @@ -122,6 +125,8 @@ __BEGIN_DECLS _POSIX_POLL Implementation supports `poll' function. _POSIX_SELECT Implementation supports `select' and `pselect'. + _XOPEN_REALTIME X/Open realtime support is available. + _XOPEN_REALTIME_THREADS X/Open realtime thread support is available. _XOPEN_SHM Shared memory interface according to XPG4.2. _XBS5_ILP32_OFF32 Implementation provides environment with 32-bit @@ -162,6 +167,10 @@ __BEGIN_DECLS #include +/* Get the environment definitions from Unix98. */ +#ifdef __USE_UNIX98 +# include +#endif /* Standard file descriptors. */ #define STDIN_FILENO 0 /* Standard input. */