diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2022-09-11 00:44:14 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2022-09-11 00:44:14 +0200 |
commit | 22a121383f73fa7739f324021b6ad0ba6ed3cdb3 (patch) | |
tree | 6f12d981ec9356703b62216eac663bff9a084a80 | |
parent | 0e89bb9f461d49e76c7927088ed3b3f1e40cdaf7 (diff) | |
download | liberty-22a121383f73fa7739f324021b6ad0ba6ed3cdb3.tar.gz liberty-22a121383f73fa7739f324021b6ad0ba6ed3cdb3.tar.xz liberty-22a121383f73fa7739f324021b6ad0ba6ed3cdb3.zip |
Allow for overriding feature test macros
-rw-r--r-- | liberty.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -16,8 +16,13 @@ * */ -#define _POSIX_C_SOURCE 199309L +#ifndef _POSIX_C_SOURCE +#define _POSIX_C_SOURCE 200112L +#endif + +#ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 600 +#endif #include <stdio.h> #include <stddef.h> |