Merge pull request #1207 from vim2meta/master

Ensure a preprocessor directive is only applied to MSVC.
This commit is contained in:
Milo Yip 2018-03-20 14:46:33 +08:00 committed by GitHub
commit 67a17cfdbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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