Browse Source

Fix typo in llama.h (#593)

anzz1 2 years ago
parent
commit
a5c42c4b13
1 changed files with 1 additions and 1 deletions
  1. 1 1
      llama.h

+ 1 - 1
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