The latter isn't defined anywhere anymore. Fixes all the code relying on
IMAGE_BYTE_ORDER being defined to MSBFirst on big endian.

Signed-off-by: Michel Dänzer <[email protected]>
---
 include/core/core.h |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)

diff --git a/include/core/core.h b/include/core/core.h
index 4016896..14b2155 100644
--- a/include/core/core.h
+++ b/include/core/core.h
@@ -54,14 +54,10 @@ typedef XBool Bool;
 
 #include <glib.h>
 
-/*
- * WORDS_BIGENDIAN should be defined before including this file for
- * IMAGE_BYTE_ORDER and BITMAP_BIT_ORDER to be set correctly.
- */
 #define LSBFirst 0
 #define MSBFirst 1
 
-#ifdef WORDS_BIGENDIAN
+#if BYTE_ORDER == BIG_ENDIAN
 #  define IMAGE_BYTE_ORDER MSBFirst
 #  define BITMAP_BIT_ORDER MSBFirst
 #else
-- 
1.7.7

_______________________________________________
dev mailing list
[email protected]
http://lists.compiz.org/mailman/listinfo/dev

Reply via email to