Merge pull request #2090 from vaintroub/fix_clang_cl

Disable MP_64BIT when compiling with clang-cl on Windows.
This commit is contained in:
Kaleb Himes 2019-04-30 13:36:39 -06:00 committed by GitHub
commit e00ba1c66a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -85,7 +85,7 @@ extern "C" {
/* detect 64-bit mode if possible */
#if defined(__x86_64__)
#if defined(__x86_64__) && !(defined (_MSC_VER) && defined(__clang__))
#if !(defined(MP_64BIT) && defined(MP_16BIT) && defined(MP_8BIT))
#define MP_64BIT
#endif