Increase _POSIX_C_SOURCE to 200112L

CLOCK_MONOTONIC appeared in IEEE Std. 1003.1-200x, it was not part of
POSIX.1b (the 1993 version), and FreeBSD treats it accordingly.
master
sghctoma 6 years ago
parent 8beeb88309
commit fa587b8ea9

@ -1,4 +1,4 @@
#define _POSIX_C_SOURCE 199309L #define _POSIX_C_SOURCE 200112L
#include <assert.h> #include <assert.h>
#include <drm_mode.h> #include <drm_mode.h>
#include <EGL/egl.h> #include <EGL/egl.h>

@ -1,4 +1,4 @@
#define _POSIX_C_SOURCE 199309L #define _POSIX_C_SOURCE 200112L
#include <assert.h> #include <assert.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdlib.h> #include <stdlib.h>

Loading…
Cancel
Save