diff options
Diffstat (limited to 'apps/codecs')
-rw-r--r-- | apps/codecs/lib/codeclib_misc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/lib/codeclib_misc.h b/apps/codecs/lib/codeclib_misc.h index 0d560755d7..a393df4183 100644 --- a/apps/codecs/lib/codeclib_misc.h +++ b/apps/codecs/lib/codeclib_misc.h | |||
@@ -42,7 +42,7 @@ | |||
42 | /* 64 bit multiply */ | 42 | /* 64 bit multiply */ |
43 | /* #include <sys/types.h> */ | 43 | /* #include <sys/types.h> */ |
44 | 44 | ||
45 | #if ROCKBOX_LITTLE_ENDIAN == 1 | 45 | #ifdef ROCKBOX_LITTLE_ENDIAN |
46 | union magic { | 46 | union magic { |
47 | struct { | 47 | struct { |
48 | int32_t lo; | 48 | int32_t lo; |
@@ -50,7 +50,7 @@ union magic { | |||
50 | } halves; | 50 | } halves; |
51 | int64_t whole; | 51 | int64_t whole; |
52 | }; | 52 | }; |
53 | #elif ROCKBOX_BIG_ENDIAN == 1 | 53 | #elif defined(ROCKBOX_BIG_ENDIAN) |
54 | union magic { | 54 | union magic { |
55 | struct { | 55 | struct { |
56 | int32_t hi; | 56 | int32_t hi; |