diff options
author | Valentyn Bezshapkin <61702053+valentynbez@users.noreply.github.com> | 2023-03-22 18:20:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 19:20:25 +0200 |
commit | 97940520e8fd49c56bb29b71cc350190b723513f (patch) | |
tree | 4ea2c0b0161dfc5850b1ec2618feef3b1b9f23be | |
parent | 305ba6f0e6daa3796aad9dd18053a1945dd4cc58 (diff) |
fix: add POSIX functionality for Linux compilation (#51)
* fix: add POSIX functionality for Linux compilation
* fix: older standard for compatibility
-rw-r--r-- | ggml.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1,3 +1,6 @@ +// Defines CLOCK_MONOTONIC on Linux +#define _POSIX_C_SOURCE 199309L + #include "ggml.h" #if defined(_MSC_VER) || defined(__MINGW32__) |