Add _M_IX86 for testing for MSVC x86

This commit is contained in:
Sizhe Zhao 2020-04-26 11:36:28 +08:00
parent aa8b4571fb
commit 56dc9df1a6

View File

@ -166,7 +166,7 @@ MP_STATIC_ASSERT(prec_geq_min_prec, MP_DEFAULT_DIGIT_COUNT >= MP_MIN_DIGIT_COUNT
#if defined(__STDC_IEC_559__) || defined(__GCC_IEC_559) \ #if defined(__STDC_IEC_559__) || defined(__GCC_IEC_559) \
|| defined(__x86_64__) || defined(_M_X64) || defined(_M_AMD64) \ || defined(__x86_64__) || defined(_M_X64) || defined(_M_AMD64) \
|| defined(__i386__) || defined(_M_X86) \ || defined(__i386__) || defined(_M_X86) || defined(_M_IX86) \
|| defined(__aarch64__) || defined(__arm__) || defined(__aarch64__) || defined(__arm__)
#define MP_HAS_SET_DOUBLE #define MP_HAS_SET_DOUBLE
#endif #endif