Fix linking on mingw32
This commit is contained in:
parent
6cf5bde4c3
commit
ce3f7adc85
1 changed files with 1 additions and 1 deletions
2
llama.h
2
llama.h
|
@ -6,7 +6,7 @@
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
#ifdef LLAMA_SHARED
|
#ifdef LLAMA_SHARED
|
||||||
# ifdef _WIN32
|
# ifdef _WIN32 && !defined __MINGW32__
|
||||||
# ifdef LLAMA_BUILD
|
# ifdef LLAMA_BUILD
|
||||||
# define LLAMA_API __declspec(dllexport)
|
# define LLAMA_API __declspec(dllexport)
|
||||||
# else
|
# else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue