summaryrefslogtreecommitdiffstats
path: root/libvo/vo_tga.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_tga.c')
-rw-r--r--libvo/vo_tga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_tga.c b/libvo/vo_tga.c
index 707455b4ea..38299aca88 100644
--- a/libvo/vo_tga.c
+++ b/libvo/vo_tga.c
@@ -138,7 +138,7 @@ static int write_tga( char *file, int bpp, int dx, int dy, uint8_t *buf, int str
s = buf;
d = line_buff;
for(x = 0; x < dx; x++) {
- #ifdef WORDS_BIGENDIAN
+ #if HAVE_BIGENDIAN
d[0] = s[3];
d[1] = s[2];
d[2] = s[1];