From 94d6036c388f764cf2697095b088ac076bef65e1 Mon Sep 17 00:00:00 2001 From: Recep Aslantas Date: Mon, 30 Apr 2018 11:09:42 +0300 Subject: [PATCH] suppress warnings for Mingw --- include/cglm/simd/intrin.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/include/cglm/simd/intrin.h b/include/cglm/simd/intrin.h index 7fdfc2a..1938cb2 100644 --- a/include/cglm/simd/intrin.h +++ b/include/cglm/simd/intrin.h @@ -10,9 +10,13 @@ #if defined( _WIN32 ) # if (defined(_M_AMD64) || defined(_M_X64)) || _M_IX86_FP == 2 -# define __SSE2__ +# ifndef __SSE2__ +# define __SSE2__ +# endif # elif _M_IX86_FP == 1 -# define __SSE__ +# ifndef __SSE__ +# define __SSE__ +# endif # endif #endif