diff options
author | midipix <writeonce@midipix.org> | 2021-06-15 08:22:32 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2021-06-15 08:22:32 +0000 |
commit | 83ec897e144c8c1c59c3b487c9b85e898afb1af0 (patch) | |
tree | 91c53f7cf69051106d44d1802b21c08929ebc80b /profiles/osapi | |
parent | 3e5bd4b4acad3c3396e551e0cca14a3099f0e09c (diff) | |
download | sbpython3-83ec897e144c8c1c59c3b487c9b85e898afb1af0.tar.bz2 sbpython3-83ec897e144c8c1c59c3b487c9b85e898afb1af0.tar.xz |
profiles/osapi/modern.h: conditionally define HAVE_GCC_ASM_FOR_{X87|X64}.
Diffstat (limited to 'profiles/osapi')
-rw-r--r-- | profiles/osapi/modern.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/profiles/osapi/modern.h b/profiles/osapi/modern.h index 710eb54..5fc8e20 100644 --- a/profiles/osapi/modern.h +++ b/profiles/osapi/modern.h @@ -338,6 +338,15 @@ #define __EXTENSIONS__ 1 #endif +#ifdef __i386__ +#define HAVE_GCC_ASM_FOR_X87 1 +#endif + +#ifdef __x86_64__ +#define HAVE_GCC_ASM_FOR_X87 1 +#define HAVE_GCC_ASM_FOR_X64 1 +#endif + #define _BSD_TYPES 1 #define _DARWIN_C_SOURCE 1 |