summaryrefslogtreecommitdiff
path: root/profiles/osapi
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/osapi')
-rw-r--r--profiles/osapi/modern.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/profiles/osapi/modern.h b/profiles/osapi/modern.h
index 3075dd6..3cbea8c 100644
--- a/profiles/osapi/modern.h
+++ b/profiles/osapi/modern.h
@@ -97,7 +97,6 @@
#define HAVE_FTIME 1
#define HAVE_FTRUNCATE 1
#define HAVE_GAI_STRERROR 1
-#define HAVE_GCC_ASM_FOR_X87 1
#define HAVE_GETADDRINFO 1
#define HAVE_GETCWD 1
#define HAVE_GETC_UNLOCKED 1
@@ -280,6 +279,14 @@
#define _XOPEN_SOURCE 600
#endif
+#ifdef __i386__
+#define HAVE_GCC_ASM_FOR_X87 1
+#endif
+
+#ifdef __x86_64__
+#define HAVE_GCC_ASM_FOR_X87 1
+#endif
+
#define _BSD_TYPES 1
#define _DARWIN_C_SOURCE 1
#define _FILE_OFFSET_BITS 64