diff options
Diffstat (limited to 'include/features.h')
-rw-r--r-- | include/features.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h index c700871ba5..809bfc9a47 100644 --- a/include/features.h +++ b/include/features.h @@ -216,6 +216,10 @@ # define __USE_ISOCXX11 1 #endif +#if defined _XOPEN_SOURCE || defined _POSIX_C_SOURCE +# define __USE_XOPEN_OR_POSIX +#endif + /* If none of the ANSI/POSIX macros are defined, use POSIX.1 and POSIX.2 (and IEEE Std 1003.1b-1993 unless _XOPEN_SOURCE is defined). */ #if ((!defined __STRICT_ANSI__ || (_XOPEN_SOURCE - 0) >= 500) && \ |