aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2024-02-15 15:20:14 +0100
committerSimon Ser <contact@emersion.fr>2024-02-15 15:20:14 +0100
commitefa706b76902f50582c46b5b9f730696d04801b0 (patch)
treea118f771a16891998b88d290b8dfebee77c1394c /util
parent17fe87af5e1a5fded8a210a2e6b281804d57bebe (diff)
util/log: drop unnecessary _XOPEN_SOURCE
snprintf() is actually ISO C99. We still need POSIX for clock_gettime().
Diffstat (limited to 'util')
-rw-r--r--util/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/log.c b/util/log.c
index ae84f7e7..9996ab8a 100644
--- a/util/log.c
+++ b/util/log.c
@@ -1,4 +1,4 @@
-#define _XOPEN_SOURCE 700 // for snprintf
+#define _POSIX_C_SOURCE 200809L
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>