diff options
author | Mikhail Teterin <mi@FreeBSD.org> | 2002-11-06 12:44:10 +0000 |
---|---|---|
committer | Mikhail Teterin <mi@FreeBSD.org> | 2002-11-06 12:44:10 +0000 |
commit | 6ef5c2e7071eb56e0844ff8beaa32131259fa078 (patch) | |
tree | 0154afba314c5e1e95d3a91d3be7c7018bccd206 /graphics | |
parent | c92490ee1b0686e6e76ae89cfe0c5caea5e31110 (diff) | |
download | ports-6ef5c2e7071eb56e0844ff8beaa32131259fa078.tar.gz ports-6ef5c2e7071eb56e0844ff8beaa32131259fa078.zip |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/lcms/files/patch-config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/lcms/files/patch-config b/graphics/lcms/files/patch-config index ee9c19a404cf..85e60a1d4ddb 100644 --- a/graphics/lcms/files/patch-config +++ b/graphics/lcms/files/patch-config @@ -6,9 +6,9 @@ -// #define USE_BIG_ENDIAN 1 + +#include <machine/endian.h> -+#if _BYTE_ORDER == _BIG_ENDIAN ++#if BYTE_ORDER == BIG_ENDIAN +# define USE_BIG_ENDIAN 1 -+#elif _BYTE_ORDER != _LITTLE_ENDIAN ++#elif BYTE_ORDER != LITTLE_ENDIAN +# error "Unexpected BYTE_ORDER on this architecture" +#endif |