16 lines
497 B
Diff
16 lines
497 B
Diff
|
--- include/lcms2.h.orig 2010-05-18 16:11:48.852037802 +0200
|
||
|
+++ include/lcms2.h 2010-05-18 16:12:22.116041439 +0200
|
||
|
@@ -30,8 +30,10 @@
|
||
|
|
||
|
// ********** Configuration toggles ****************************************
|
||
|
|
||
|
-// Uncomment this one if you are using big endian machines
|
||
|
-// #define CMS_USE_BIG_ENDIAN 1
|
||
|
+#include <endian.h>
|
||
|
+#if __BYTE_ORDER == __BIG_ENDIAN
|
||
|
+#define USE_BIG_ENDIAN 1
|
||
|
+#endif
|
||
|
|
||
|
// Uncomment this one if your compiler/machine does NOT support the
|
||
|
// "long long" type.
|