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.
This commit is contained in:
sghctoma 2018-10-17 11:09:58 +02:00
parent 434cbaabf0
commit 2694fd72b6

View file

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