diff --git a/CMakeLists.txt b/CMakeLists.txt index 9e4bea8..157e921 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -91,7 +91,7 @@ add_ldflag("-Wl,--as-needed") check_symbol_exists(isatty "unistd.h" HAVE_ISATTY) check_symbol_exists(ioctl "sys/ioctl.h" HAVE_IOCTL) -test_big_endian(HAVE_BIG_ENDIAN) +test_big_endian(IS_BIG_ENDIAN) set(INNOEXTRACT_SOURCES diff --git a/src/configure.hpp.in b/src/configure.hpp.in index 7d93f0f..a49f6ce 100644 --- a/src/configure.hpp.in +++ b/src/configure.hpp.in @@ -5,6 +5,6 @@ #cmakedefine HAVE_ISATTY #cmakedefine HAVE_IOCTL #cmakedefine HAVE_LZMA -#cmakedefine HAVE_BIG_ENDIAN +#cmakedefine IS_BIG_ENDIAN #endif // INNOEXTRACT_CONFIGURE_HPP diff --git a/src/util/endian.hpp b/src/util/endian.hpp index 94982e0..30829e4 100644 --- a/src/util/endian.hpp +++ b/src/util/endian.hpp @@ -122,7 +122,7 @@ struct endianness { #define BIG_ENDIAN 4321 #endif -#ifdef HAVE_BIG_ENDIAN +#ifdef IS_BIG_ENDIAN #define ENDIANNESS BIG_ENDIAN #else #define ENDIANNESS LITTLE_ENDIAN