aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/build-data/buildh.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index 9d7012a73..b784e287e 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -53,6 +53,11 @@
%{target_cpu_defines}
+#if defined(BOTAN_TARGET_CPU_IS_LITTLE_ENDIAN) || \
+ defined(BOTAN_TARGET_CPU_IS_BIG_ENDIAN)
+ #define BOTAN_TARGET_CPU_HAS_KNOWN_ENDIANNESS
+#endif
+
%{target_compiler_defines}
/* Module definitions */