aboutsummaryrefslogtreecommitdiff
path: root/llama.h
diff options
context:
space:
mode:
authoranzz1 <anzz1@live.com>2023-03-28 21:23:09 +0300
committerGitHub <noreply@github.com>2023-03-28 21:23:09 +0300
commit7f4c5c66514227c3870c2bd189fb0609fdd0de10 (patch)
tree2ea19f4fbea964e44f389a34b87b5ed5f7c97d0c /llama.h
parent2a98bc18ea34dbf15f261a0df37080e588a189d1 (diff)
llama : fix linkage with mingw (#551)
* Revert 7e53955 (#542) Still needs to be fixed properly * Fix linking on mingw32
Diffstat (limited to 'llama.h')
-rw-r--r--llama.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llama.h b/llama.h
index f5a576c..587d853 100644
--- a/llama.h
+++ b/llama.h
@@ -6,7 +6,7 @@
#include <stdbool.h>
#ifdef LLAMA_SHARED
-# ifdef _WIN32
+# ifdef _WIN32 && !defined __MINGW32__
# ifdef LLAMA_BUILD
# define LLAMA_API __declspec(dllexport)
# else