ensure the pragma is only applied to MSVC

This commit is contained in:
John 2018-03-19 15:18:08 -04:00
parent f0177eb936
commit de6681e295

View File

@ -17,7 +17,7 @@
#include "../rapidjson.h"
#if defined(_MSC_VER) && defined(_M_AMD64)
#if defined(_MSC_VER) && !__INTEL_COMPILER && defined(_M_AMD64)
#include <intrin.h> // for _umul128
#pragma intrinsic(_umul128)
#endif