util/log: drop unnecessary _XOPEN_SOURCE

snprintf() is actually ISO C99.

We still need POSIX for clock_gettime().
This commit is contained in:
Simon Ser 2024-02-15 15:20:14 +01:00
parent 17fe87af5e
commit efa706b769

View file

@ -1,4 +1,4 @@
#define _XOPEN_SOURCE 700 // for snprintf
#define _POSIX_C_SOURCE 200809L
#include <errno.h>
#include <stdarg.h>
#include <stdio.h>