summaryrefslogtreecommitdiff
path: root/src/smi_driver.c
diff options
context:
space:
mode:
authorThomas Klausner <wiz@NetBSD.org>2015-09-14 18:36:32 +0200
committerThomas Klausner <wiz@NetBSD.org>2015-09-30 23:44:05 +0200
commit647e5a93d9387e3bc8d2c8569e3a5f996acfb169 (patch)
tree75f071b040da1725aa0fd862fc06ad0d6e1816aa /src/smi_driver.c
parenta4e406c20ab0590214f779c2319ac7b92594a606 (diff)
Use X11/Xarch.h for endian detection.
Reviewed-by: Connor Behan <connor.behan@gmail.com>
Diffstat (limited to 'src/smi_driver.c')
-rw-r--r--src/smi_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_driver.c b/src/smi_driver.c
index 2568637..8949cae 100644
--- a/src/smi_driver.c
+++ b/src/smi_driver.c
@@ -487,7 +487,7 @@ SMI_PreInit(ScrnInfoPtr pScrn, int flags)
if (pScrn->depth > 8) {
/* The defaults are OK for us */
rgb zeros = {0, 0, 0};
-#if __BYTE_ORDER == __BIG_ENDIAN
+#if X_BYTE_ORDER == X_BIG_ENDIAN
rgb masks = {0xff00,0xff0000,0xff000000};
#else
rgb masks = {0, 0, 0};