[vuplus-wifi-util] fix default ccode
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-multimedia / cdrkit / cdrkit / xconfig.patch
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
3 @@ -233,7 +233,11 @@
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
10 +#else
11 +#define BITFIELDS_LTOH
12 +#endif
13  #define        HAVE_C_BIGENDIAN        /* Flag that WORDS_BIGENDIAN test was done */
14  #define        HAVE_C_BITFIELDS        /* Flag that BITFIELDS_HTOL test was done  */
15  
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
18 @@ -35,7 +35,6 @@
19  INCLUDE(TestBigEndian)
20  TEST_BIG_ENDIAN(WORDS_BIGENDIAN)
21  
22 -TRY_RUN(BITFIELDS_HTOL TEST_DUMMY ${CMAKE_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/test_BITFIELDS_HTOL.c)
23  
24  INCLUDE(CheckIncludeFiles)
25