mirror of
https://git.freebsd.org/ports.git
synced 2025-06-10 15:20:32 -04:00
underscore-prefixed aliases, which are not available on -stable. There I was proud of myself for testing on i386, alpha, and panther, and still missing a -stable incompatibility :-\ Submitted by: Voodai, Lars Erik Gullerud, Ivajlo Nikolov (so far)
15 lines
505 B
Text
15 lines
505 B
Text
--- ../include/lcms.h Wed Aug 7 15:34:37 2002
|
|
+++ ../include/lcms.h Wed Nov 6 01:23:21 2002
|
|
@@ -66,5 +73,11 @@
|
|
// Uncomment this one if you are using big endian machines (only meaningful
|
|
// when NON_WINDOWS is used)
|
|
-// #define USE_BIG_ENDIAN 1
|
|
+
|
|
+#include <machine/endian.h>
|
|
+#if BYTE_ORDER == BIG_ENDIAN
|
|
+# define USE_BIG_ENDIAN 1
|
|
+#elif BYTE_ORDER != LITTLE_ENDIAN
|
|
+# error "Unexpected BYTE_ORDER on this architecture"
|
|
+#endif
|
|
|
|
// Uncomment this one if your compiler/machine does support the
|