Tizen 2.0 Release
[external/lcms.git] / debian / patches / lcms-endian.patch
1 --- include/lcms2.h.orig        2010-05-18 16:11:48.852037802 +0200
2 +++ include/lcms2.h     2010-05-18 16:12:22.116041439 +0200
3 @@ -30,8 +30,10 @@
4  
5  // ********** Configuration toggles ****************************************
6  
7 -// Uncomment this one if you are using big endian machines
8 -// #define CMS_USE_BIG_ENDIAN   1
9 +#include <endian.h>
10 +#if __BYTE_ORDER == __BIG_ENDIAN
11 +#define USE_BIG_ENDIAN   1
12 +#endif
13  
14  // Uncomment this one if your compiler/machine does NOT support the
15  // "long long" type.