From 41b6ac6afb1f8bff0fb7b11ff3b3e406c05e0bf3 Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Thu, 18 Oct 2012 13:40:08 +0200 Subject: libgme: fix badly written cpp conditions spotted by gcc 4.6.3 Change-Id: Ia3fba4ba2c46a202c48f3a9b7db0cba9f75b6a50 --- lib/rbcodec/codecs/libgme/z80_cpu_run.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbcodec/codecs/libgme/z80_cpu_run.h') diff --git a/lib/rbcodec/codecs/libgme/z80_cpu_run.h b/lib/rbcodec/codecs/libgme/z80_cpu_run.h index a453487bb0..26c2a1a7b6 100644 --- a/lib/rbcodec/codecs/libgme/z80_cpu_run.h +++ b/lib/rbcodec/codecs/libgme/z80_cpu_run.h @@ -131,7 +131,7 @@ int const C01 = 0x01; #ifdef BLARGG_BIG_ENDIAN #define R8( n, offset ) ((r.r8_ - offset) [n]) -#elif BLARGG_LITTLE_ENDIAN +#elif defined(BLARGG_LITTLE_ENDIAN) #define R8( n, offset ) ((r.r8_ - offset) [(n) ^ 1]) #else #error "Byte order of CPU must be known" -- cgit v1.2.3