From 339549d23d64dc55a7c7743f3740326051945677 Mon Sep 17 00:00:00 2001 From: Carlo Bramini <30959007+carlo-bramini@users.noreply.github.com> Date: Sun, 7 Jun 2020 19:49:33 +0200 Subject: [PATCH] [WIN32] This inline ASM is supported only by MSVC. (#563) --- src/float_cast.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/float_cast.h b/src/float_cast.h index f96b97fe7..b7370c255 100644 --- a/src/float_cast.h +++ b/src/float_cast.h @@ -42,7 +42,7 @@ ** the config.h file. */ -#if (defined (WIN32) || defined (_WIN32)) && defined(_M_IX86) +#if (defined (WIN32) || defined (_WIN32)) && defined(_MSC_VER) && defined(_M_IX86) // Including math.h allows us to use the inline assembler versions without // producing errors in newer Visual Studio versions.