summaryrefslogtreecommitdiffstats
path: root/libvo/vo_x11.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_x11.c')
-rw-r--r--libvo/vo_x11.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index d1120ae927..938640a809 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -262,7 +262,7 @@ static void freeMyXImage(void)
ImageData = NULL;
}
-#ifdef WORDS_BIGENDIAN
+#if HAVE_BIGENDIAN
#define BO_NATIVE MSBFirst
#define BO_NONNATIVE LSBFirst
#else
@@ -446,7 +446,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width,
// we can easily "emulate" them.
if (out_format & 64 && (IMGFMT_IS_RGB(out_format) || IMGFMT_IS_BGR(out_format))) {
out_format &= ~64;
-#ifdef WORDS_BIGENDIAN
+#if HAVE_BIGENDIAN
out_offset = 1;
#else
out_offset = -1;