From 63a8b00d88bab25614262783fd3d53b08c739b6b Mon Sep 17 00:00:00 2001 From: valentynbez Date: Sun, 12 Mar 2023 21:27:22 +0100 Subject: [PATCH] fix: older standard for compatibility --- ggml.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ggml.c b/ggml.c index dfbe266..58fbfdb 100644 --- a/ggml.c +++ b/ggml.c @@ -1,4 +1,6 @@ -#define _POSIX_C_SOURCE 200809L +// Defines CLOCK_MONOTONIC on Linux +#define _POSIX_C_SOURCE 199309L + #include "ggml.h" #if defined(_MSC_VER) || defined(__MINGW32__)