ggml : fix missing #defines before windows.h
This commit is contained in:
parent
56a00f0a2f
commit
14eebe23fc
1 changed files with 4 additions and 0 deletions
4
ggml.c
4
ggml.c
|
@ -43,6 +43,10 @@
|
||||||
|
|
||||||
#if defined(_WIN32)
|
#if defined(_WIN32)
|
||||||
|
|
||||||
|
#define WIN32_LEAN_AND_MEAN
|
||||||
|
#ifndef NOMINMAX
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
typedef volatile LONG atomic_int;
|
typedef volatile LONG atomic_int;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue