diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-10-12 17:05:05 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-10-12 17:05:05 +0200 |
commit | 36a5604a66eaeeb64c682c268682ab812b89bf1d (patch) | |
tree | 07bab144c615c2499a50c7e8ab21f557a886a8ca | |
parent | m (diff) | |
download | slibc-36a5604a66eaeeb64c682c268682ab812b89bf1d.tar.gz slibc-36a5604a66eaeeb64c682c268682ab812b89bf1d.tar.bz2 slibc-36a5604a66eaeeb64c682c268682ab812b89bf1d.tar.xz |
_PORTABLE_SOURCES does not disable POSIX extensions
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | include/slibc/features.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/slibc/features.h b/include/slibc/features.h index 0527a60..e6005f9 100644 --- a/include/slibc/features.h +++ b/include/slibc/features.h @@ -68,12 +68,6 @@ # if defined(_BSD_SOURCE) # define __BSD_SOURCE _BSD_SOURCE # endif -# if defined(_POSIX_SOURCE) -# define __POSIX_SOURCE _POSIX_SOURCE -# endif -# if defined(_POSIX_C_SOURCE) -# define __POSIX_C_SOURCE _POSIX_C_SOURCE -# endif # if defined(_XOPEN_SOURCE) # define __XOPEN_SOURCE _XOPEN_SOURCE # endif @@ -81,6 +75,12 @@ # define __ISOC11_SOURCE _ISOC11_SOURCE # endif #endif +#if defined(_POSIX_SOURCE) +# define __POSIX_SOURCE _POSIX_SOURCE +#endif +#if defined(_POSIX_C_SOURCE) +# define __POSIX_C_SOURCE _POSIX_C_SOURCE +#endif |