fix: add POSIX functionality for Linux compilation

This commit is contained in:
valentynbez 2023-03-12 15:42:25 +01:00
parent b9bd1d0141
commit 526ddc0101

1
ggml.c
View file

@ -1,3 +1,4 @@
#define _POSIX_C_SOURCE 200809L
#include "ggml.h" #include "ggml.h"
#if defined(_MSC_VER) || defined(__MINGW32__) #if defined(_MSC_VER) || defined(__MINGW32__)