From ce3f7adc853a1813a264bb6e060327020a417850 Mon Sep 17 00:00:00 2001 From: anzz1 Date: Tue, 28 Mar 2023 18:14:04 +0300 Subject: [PATCH] Fix linking on mingw32 --- llama.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llama.h b/llama.h index ebf55f41c..031f666a1 100644 --- a/llama.h +++ b/llama.h @@ -6,7 +6,7 @@ #include #ifdef LLAMA_SHARED -# ifdef _WIN32 +# ifdef _WIN32 && !defined __MINGW32__ # ifdef LLAMA_BUILD # define LLAMA_API __declspec(dllexport) # else