diff options
author | lloyd <[email protected]> | 2009-12-22 23:08:36 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-12-22 23:08:36 +0000 |
commit | fa23d991608dc81452965d79c32b402595c620e7 (patch) | |
tree | b9dc375eee63f837fc03aa7b5d6661810c232853 | |
parent | 67d6dc793b8445e17ba8d5aa24b8fd09abb67f11 (diff) |
Define BOTAN_TARGET_CPU_HAS_KNOWN_ENDIANNESS if the target CPU is known to
be either fixed little or big endian. Unset if mixed endian or unknown.
-rw-r--r-- | src/build-data/buildh.in | 5 |
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 */ |