summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r600/defaultendian.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/drivers/dri/r600/defaultendian.h')
-rw-r--r--src/mesa/drivers/dri/r600/defaultendian.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r600/defaultendian.h b/src/mesa/drivers/dri/r600/defaultendian.h
index 32caf32cd2e..75bd61c3cd4 100644
--- a/src/mesa/drivers/dri/r600/defaultendian.h
+++ b/src/mesa/drivers/dri/r600/defaultendian.h
@@ -29,8 +29,8 @@
#define _DEFINEENDIAN_H_
//We have to choose a reg bits orientation if there is no compile flag for it.
-#if defined(LITTLEENDIAN_CPU)
-#elif defined(BIGENDIAN_CPU)
+#ifdef MESA_BIG_ENDIAN
+#define BIGENDIAN_CPU
#else
#define LITTLEENDIAN_CPU
#endif