diff options
author | Simon Ser <contact@emersion.fr> | 2024-02-15 15:20:14 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2024-02-15 15:20:14 +0100 |
commit | efa706b76902f50582c46b5b9f730696d04801b0 (patch) | |
tree | a118f771a16891998b88d290b8dfebee77c1394c | |
parent | 17fe87af5e1a5fded8a210a2e6b281804d57bebe (diff) |
util/log: drop unnecessary _XOPEN_SOURCE
snprintf() is actually ISO C99.
We still need POSIX for clock_gettime().
-rw-r--r-- | util/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,4 +1,4 @@ -#define _XOPEN_SOURCE 700 // for snprintf +#define _POSIX_C_SOURCE 200809L #include <errno.h> #include <stdarg.h> #include <stdio.h> |