Allow for overriding feature test macros

This commit is contained in:
Přemysl Eric Janouch 2022-09-11 00:44:14 +02:00
parent 0e89bb9f46
commit 22a121383f
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 6 additions and 1 deletions

View File

@ -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>