summaryrefslogtreecommitdiff
path: root/media/libtremor/lib/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'media/libtremor/lib/misc.h')
-rw-r--r--media/libtremor/lib/misc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/media/libtremor/lib/misc.h b/media/libtremor/lib/misc.h
index 2fc521a244..1ae4d2e813 100644
--- a/media/libtremor/lib/misc.h
+++ b/media/libtremor/lib/misc.h
@@ -49,7 +49,9 @@ union magic {
} halves;
ogg_int64_t whole;
};
-#elif BYTE_ORDER==BIG_ENDIAN
+#endif
+
+#if BYTE_ORDER==BIG_ENDIAN
union magic {
struct {
ogg_int32_t hi;