Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
lcms
lcms-endian.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lcms-endian.patch of Package lcms
--- ./include/lcms.h.orig 2009-10-30 15:57:45.000000000 +0000 +++ ./include/lcms.h 2013-12-04 12:39:42.741744427 +0000 @@ -47,7 +47,10 @@ // Uncomment this one if you are using big endian machines (only meaningful // when NON_WINDOWS is used) -// #define 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 support the // "long long" type This will speedup fixed point math. (USE_C only) @@ -139,14 +142,6 @@ typedef pthread_rwlock_t LCMS_RW # define USE_BIG_ENDIAN 1 #endif -#if defined(__sgi__) || defined(__sgi) || defined(__powerpc__) || defined(sparc) || defined(__ppc__) || defined(__s390__) || defined(__s390x__) -# define USE_BIG_ENDIAN 1 -#endif - -#if TARGET_CPU_PPC -# define USE_BIG_ENDIAN 1 -#endif - #if macintosh # ifndef __LITTLE_ENDIAN__ # define USE_BIG_ENDIAN 1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor