diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2017-01-30 22:53:06 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2017-01-30 22:53:17 +0100 |
commit | b9d5e48086a0597e946bbae4c7dd6bfb5b8e60ea (patch) | |
tree | 8cb2b18d2de01bf0fd3cd4bd2cf8c25c777f6936 /config.h.cmake | |
parent | 256b4c4867c7a20245feb1d465e13419b6860475 (diff) | |
download | tdelibs-b9d5e48086a0597e946bbae4c7dd6bfb5b8e60ea.tar.gz tdelibs-b9d5e48086a0597e946bbae4c7dd6bfb5b8e60ea.zip |
Fix detection whether the system is big endian
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 7cc97cb18734939136579c086bf6758f3a4c18ad)
Diffstat (limited to 'config.h.cmake')
-rw-r--r-- | config.h.cmake | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/config.h.cmake b/config.h.cmake index 145fa2c14..eddb68baf 100644 --- a/config.h.cmake +++ b/config.h.cmake @@ -1,8 +1,5 @@ /* config.h.in. Generated from configure.in by autoheader. */ -/* Define if building universal (internal helper macro) */ -#undef AC_APPLE_UNIVERSAL_BUILD - /* Define where aspell data dir is */ #define ASPELL_DATADIR "@ASPELL_DATADIR@" @@ -922,15 +919,7 @@ /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ -#if defined AC_APPLE_UNIVERSAL_BUILD -# if defined __BIG_ENDIAN__ -# define WORDS_BIGENDIAN 1 -# endif -#else -# ifndef WORDS_BIGENDIAN -# undef WORDS_BIGENDIAN -# endif -#endif +#cmakedefine WORDS_BIGENDIAN @WORDS_BIGENDIAN@ /* where rgb.txt is in */ #cmakedefine X11_RGBFILE "@X11_RGBFILE@" |