diff options
| author | Jakob Kaivo <jkk@ung.org> | 2019-02-23 13:40:39 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2019-02-23 13:40:39 -0500 |
| commit | 3a3c5a7e8b78d46f62f81a71fc5bec37be79d744 (patch) | |
| tree | da6e8b719a414e6f45a15028d0c3bfe489692cd9 /src/unistd/_POSIX2_C_VERSION.c | |
| parent | b529e2684d03e7e6d20fee4b0f8eb9ea5099c5a4 (diff) | |
always set to _POSIX2_VERSION
Diffstat (limited to 'src/unistd/_POSIX2_C_VERSION.c')
| -rw-r--r-- | src/unistd/_POSIX2_C_VERSION.c | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/unistd/_POSIX2_C_VERSION.c b/src/unistd/_POSIX2_C_VERSION.c index 44c9a0ba..8c4533e7 100644 --- a/src/unistd/_POSIX2_C_VERSION.c +++ b/src/unistd/_POSIX2_C_VERSION.c @@ -1,20 +1,6 @@ #include <unistd.h> - -#if (defined _POSIX_C_SOURCE) -#if _POSIX_C_SOURCE >= 200809L -#define _POSIX2_C_VERSION (200809L) -#elif _POSIX_C_SOURCE >= 200112L -#define _POSIX2_C_VERSION (200112L) -#elif _POSIX_C_SOURCE >= 199506L -#define _POSIX2_C_VERSION (199506L) -#elif _POSIX_C_SOURCE >= 2 -#define _POSIX2_C_VERSION (199209L) -#else -#undef _POSIX2_C_VERSION -#endif -#endif +#define _POSIX2_C_VERSION (_POSIX2_VERSION) /* POSIX(2) */ - |
