浏览代码

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

Srihari-mcw 1 年之前
父节点
当前提交
5b6da18750
共有 1 个文件被更改,包括 1 次插入1 次删除
  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