aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/buildh.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index b0ffc87a1..3f56ab6f3 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -34,6 +34,14 @@ Modules
#define BOTAN_KARAT_MUL_THRESHOLD 32
#define BOTAN_KARAT_SQR_THRESHOLD 32
+#ifdef __GNUG__
+ #define BOTAN_COMPILER_HAS_GCC_INLINE_ASM 1
+#endif
+
+#ifndef BOTAN_COMPILER_HAS_GCC_INLINE_ASM
+ #define BOTAN_COMPILER_HAS_GCC_INLINE_ASM 0
+#endif
+
#ifndef BOTAN_DLL
#define BOTAN_DLL @{var:dll_export_flags}
#endif