mirror of
https://git.adityakumar.xyz/llama.cpp.git
synced 2025-02-22 15:40:02 +00:00
fix: add POSIX functionality for Linux compilation (#51)
* fix: add POSIX functionality for Linux compilation * fix: older standard for compatibility
This commit is contained in:
parent
305ba6f0e6
commit
97940520e8
1 changed files with 3 additions and 0 deletions
3
ggml.c
3
ggml.c
|
@ -1,3 +1,6 @@
|
||||||
|
// Defines CLOCK_MONOTONIC on Linux
|
||||||
|
#define _POSIX_C_SOURCE 199309L
|
||||||
|
|
||||||
#include "ggml.h"
|
#include "ggml.h"
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||||
|
|
Loading…
Reference in a new issue