aboutsummaryrefslogtreecommitdiff
path: root/graphics/lcms
diff options
context:
space:
mode:
authorMikhail Teterin <mi@FreeBSD.org>2002-11-06 12:44:10 +0000
committerMikhail Teterin <mi@FreeBSD.org>2002-11-06 12:44:10 +0000
commit6ef5c2e7071eb56e0844ff8beaa32131259fa078 (patch)
tree0154afba314c5e1e95d3a91d3be7c7018bccd206 /graphics/lcms
parentc92490ee1b0686e6e76ae89cfe0c5caea5e31110 (diff)
downloadports-6ef5c2e7071eb56e0844ff8beaa32131259fa078.tar.gz
ports-6ef5c2e7071eb56e0844ff8beaa32131259fa078.zip
Notes
Diffstat (limited to 'graphics/lcms')
-rw-r--r--graphics/lcms/files/patch-config4
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