From efa706b76902f50582c46b5b9f730696d04801b0 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 15 Feb 2024 15:20:14 +0100 Subject: [PATCH] util/log: drop unnecessary _XOPEN_SOURCE snprintf() is actually ISO C99. We still need POSIX for clock_gettime(). --- util/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/log.c b/util/log.c index ae84f7e75..9996ab8ad 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 #include #include