1
0
Fork 0
mirror of https://github.com/hyprwm/wlroots-hyprland.git synced 2025-04-10 20:52:00 +02:00

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>