summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSrihari-mcw <96763064+Srihari-mcw@users.noreply.github.com>2024-06-17 23:53:17 +0530
committerGitHub <noreply@github.com>2024-06-17 20:23:17 +0200
commit5b6da187508f49a9fa9d95fa22ae804a0780d256 (patch)
tree7a47614c808ca622b801e841fb479ec1b36866f6
parent7c26775adb579e92b59c82e8084c07a1d0f75e9c (diff)
Make updates to type cast based on compiler instead of OS (#7851)
-rw-r--r--ggml-impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ggml-impl.h b/ggml-impl.h
index 5e77471f..1d233619 100644
--- a/ggml-impl.h
+++ b/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