Explorar o código

Make updates to type cast based on compiler instead of OS (#7851)

Srihari-mcw hai 1 ano
pai
achega
5b6da18750
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ggml-impl.h

+ 1 - 1
ggml-impl.h

@@ -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