summaryrefslogtreecommitdiffstats
path: root/libvo/vo_svga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_svga.c')
-rw-r--r--libvo/vo_svga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_svga.c b/libvo/vo_svga.c
index 433f8d76ef..ed68fd79a6 100644
--- a/libvo/vo_svga.c
+++ b/libvo/vo_svga.c
@@ -635,7 +635,7 @@ static int query_format(uint32_t format) {
if( (!IMGFMT_IS_RGB(format)) && (!IMGFMT_IS_BGR(format)) ) return 0;
// Reject different endian
-#ifdef WORDS_BIGENDIAN
+#if HAVE_BIGENDIAN
if (IMGFMT_IS_BGR(format)) return 0;
#else
if (IMGFMT_IS_RGB(format)) return 0;