aa1b10984b
Copy from multimedia:libs/lcms2 based on submit request 50374 from user plater OBS-URL: https://build.opensuse.org/request/show/50374 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lcms2?expand=0&rev=1
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.
|