Skip to content

Commit

Permalink
bpo-41100: fix _decimal for arm64 Mac OS (GH-21228)
Browse files Browse the repository at this point in the history
Patch by Lawrence Danna.
  • Loading branch information
lawrence-danna-apple authored Jun 30, 2020
1 parent ba67d73 commit 604d95e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add arm64 to the allowable Mac OS arches in mpdecimal.h
3 changes: 3 additions & 0 deletions Modules/_decimal/libmpdec/mpdecimal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 604d95e

Please sign in to comment.