1 --- cdrkit-1.1.9/include/xconfig.h.in.orig 2006-12-02 12:10:05.000000000 +0100
2 +++ cdrkit-1.1.9/include/xconfig.h.in 2009-03-08 13:29:05.000000000 +0100
4 /* If using network byte order */
5 #cmakedefine WORDS_BIGENDIAN
6 /* If high bits come first in structures */
7 -#cmakedefine BITFIELDS_HTOL
8 +#ifdef WORDS_BIGENDIAN
9 +#define BITFIELDS_HTOL
11 +#define BITFIELDS_LTOH
13 #define HAVE_C_BIGENDIAN /* Flag that WORDS_BIGENDIAN test was done */
14 #define HAVE_C_BITFIELDS /* Flag that BITFIELDS_HTOL test was done */
16 --- cdrkit-1.1.9/include/CMakeLists.txt.orig 2010-09-27 23:17:34.000000000 +0000
17 +++ cdrkit-1.1.9/include/CMakeLists.txt 2010-09-27 23:17:58.000000000 +0000
19 INCLUDE(TestBigEndian)
20 TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
22 -TRY_RUN(BITFIELDS_HTOL TEST_DUMMY ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/test_BITFIELDS_HTOL.c)
24 INCLUDE(CheckIncludeFiles)