fix(ggml): compile error on centos 7.9 and gcc7
This commit is contained in:
parent
904d2a8d6a
commit
db4945c22a
1 changed files with 4 additions and 0 deletions
4
ggml.h
4
ggml.h
|
@ -1,5 +1,9 @@
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#ifdef __linux__
|
||||||
|
#define _POSIX_C_SOURCE 199309L
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// GGML Tensor Library
|
// GGML Tensor Library
|
||||||
//
|
//
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue