diff options
author | Lawrence D'Anna <64555057+lawrence-danna-apple@users.noreply.github.com> | 2020-06-30 09:15:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 09:15:46 (GMT) |
commit | 604d95e235d86465b8c17f02095edcaf18464d4c (patch) | |
tree | 04c70f7c25330f17623ae36eaeac734ad6f4260a /Modules/_decimal/libmpdec | |
parent | ba67d7386edf20bcc0f878a518de0894cb574e9f (diff) | |
download | cpython-604d95e235d86465b8c17f02095edcaf18464d4c.zip cpython-604d95e235d86465b8c17f02095edcaf18464d4c.tar.gz cpython-604d95e235d86465b8c17f02095edcaf18464d4c.tar.bz2 |
bpo-41100: fix _decimal for arm64 Mac OS (GH-21228)
Patch by Lawrence Danna.
Diffstat (limited to 'Modules/_decimal/libmpdec')
-rw-r--r-- | Modules/_decimal/libmpdec/mpdecimal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_decimal/libmpdec/mpdecimal.h b/Modules/_decimal/libmpdec/mpdecimal.h index 108b76e..35ce429 100644 --- a/Modules/_decimal/libmpdec/mpdecimal.h +++ b/Modules/_decimal/libmpdec/mpdecimal.h @@ -127,6 +127,9 @@ const char *mpd_version(void); #elif defined(__x86_64__) #define CONFIG_64 #define ASM + #elif defined(__arm64__) + #define CONFIG_64 + #define ANSI #else #error "unknown architecture for universal build." #endif |