From: Srihari-mcw Date: Mon, 17 Jun 2024 18:23:17 +0000 (+0530) Subject: Make updates to type cast based on compiler instead of OS (#7851) X-Git-Tag: upstream/0.0.4488~1315 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=5b6da187508f49a9fa9d95fa22ae804a0780d256;p=pkg%2Fggml%2Fsources%2Fllama.cpp Make updates to type cast based on compiler instead of OS (#7851) --- 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