conditional def of intrin.h
This commit is contained in:
parent
ca0a3e78d9
commit
286efed05c
1 changed files with 5 additions and 1 deletions
6
ggml.c
6
ggml.c
|
@ -27,7 +27,7 @@
|
|||
#define static_assert(cond, msg) struct global_scope_noop_trick
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32)
|
||||
#if defined( )
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
|
@ -180,7 +180,11 @@ typedef double ggml_float;
|
|||
#undef bool
|
||||
#define bool _Bool
|
||||
#else
|
||||
#if defined(_MSC_VER) || defined(__MINGW32__)
|
||||
#include <intrin.h>
|
||||
#else
|
||||
#include <immintrin.h>
|
||||
#endif
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue