]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
Make updates to type cast based on compiler instead of OS (#7851)
authorSrihari-mcw <redacted>
Mon, 17 Jun 2024 18:23:17 +0000 (23:53 +0530)
committerGitHub <redacted>
Mon, 17 Jun 2024 18:23:17 +0000 (20:23 +0200)
ggml-impl.h

index 5e77471f332f443277c835f25fc916dd16fd26ca..1d23361906c34d8191d55a939c1cfea8c72af45d 100644 (file)
@@ -17,7 +17,7 @@
 #define MIN(a, b) ((a) < (b) ? (a) : (b))
 #define MAX(a, b) ((a) > (b) ? (a) : (b))
 
-#if defined(_WIN32)
+#if defined(_MSC_VER)
 
 #define m512bh(p) p
 #define m512i(p) p