From 83ec897e144c8c1c59c3b487c9b85e898afb1af0 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 15 Jun 2021 08:22:32 +0000 Subject: profiles/osapi/modern.h: conditionally define HAVE_GCC_ASM_FOR_{X87|X64}. --- profiles/osapi/modern.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3