]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Fix typo in llama.h (#593)
authoranzz1 <redacted>
Wed, 29 Mar 2023 13:19:29 +0000 (16:19 +0300)
committerGitHub <redacted>
Wed, 29 Mar 2023 13:19:29 +0000 (13:19 +0000)
llama.h

diff --git a/llama.h b/llama.h
index 587d85323cbc3d3a4dc6ae8d1a1431f621be6e67..3368de3e00f583a6522a6d3d3dde6e1d3f458286 100644 (file)
--- a/llama.h
+++ b/llama.h
@@ -6,7 +6,7 @@
 #include <stdbool.h>
 
 #ifdef LLAMA_SHARED
-#    ifdef _WIN32 && !defined __MINGW32__
+#    if defined(_WIN32) && !defined(__MINGW32__)
 #        ifdef LLAMA_BUILD
 #            define LLAMA_API __declspec(dllexport)
 #        else