summaryrefslogtreecommitdiffstats
path: root/Source/cmELF.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-13 14:24:23 (GMT)
committerBrad King <brad.king@kitware.com>2008-05-13 14:24:23 (GMT)
commitd707719d577675e7f870d79589c97952607c8040 (patch)
tree5ad8df58ecb4f4641eb7f31f9fd001f713aa9098 /Source/cmELF.cxx
parent98127bc4a3d9714aec99d0fe171893741e386633 (diff)
downloadCMake-d707719d577675e7f870d79589c97952607c8040.zip
CMake-d707719d577675e7f870d79589c97952607c8040.tar.gz
CMake-d707719d577675e7f870d79589c97952607c8040.tar.bz2
ENH: In cmELF it is okay if the byte order is not known at compile time.
- We perform a runtime check of the input file anyway.
Diffstat (limited to 'Source/cmELF.cxx')
-rw-r--r--Source/cmELF.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmELF.cxx b/Source/cmELF.cxx
index 2cf6b96..cdba467 100644
--- a/Source/cmELF.cxx
+++ b/Source/cmELF.cxx
@@ -20,6 +20,7 @@
#include <cmsys/auto_ptr.hxx>
// Need the native byte order of the running CPU.
+#define cmsys_CPU_UNKNOWN_OKAY // We can decide at runtime if not known.
#include <cmsys/CPU.h>
// Include the ELF format information system header.