diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/config.h.in | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/src/config.h.in b/src/config.h.in index 4867dc0..dc379e5 100644 --- a/src/config.h.in +++ b/src/config.h.in @@ -1,9 +1,28 @@ #ifndef CONFIG_H #define CONFIG_H -#define _XOPEN_SOURCE 700 + + +/* + From + https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap02.html#tag_02_02_01: + + > For the C programming language, shall define _POSIX_C_SOURCE to be 200809L + > before any header is included +*/ #define _POSIX_C_SOURCE 200809L + +/* + From + https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap02.html#tag_02_02_04: + + > For the C programming language, shall define _XOPEN_SOURCE to be 700 before + > any header is included +*/ +#define _XOPEN_SOURCE 700 + + #define VERSION_MACRO_STRING "@VERSION@" #define DATE_MACRO_STRING "@DATE@" #define NAME_MACRO_STRING "@NAME@" |