aboutsummaryrefslogtreecommitdiffhomepage
path: root/liba52
diff options
context:
space:
mode:
Diffstat (limited to 'liba52')
-rw-r--r--liba52/bitstream.h2
-rw-r--r--liba52/liba52_changes.diff2
2 files changed, 2 insertions, 2 deletions
diff --git a/liba52/bitstream.h b/liba52/bitstream.h
index e894f16781..76f5556ea9 100644
--- a/liba52/bitstream.h
+++ b/liba52/bitstream.h
@@ -62,7 +62,7 @@ static inline uint32_t unaligned32(const void *v) {
#endif
/* (stolen from the kernel) */
-#ifdef WORDS_BIGENDIAN
+#if HAVE_BIGENDIAN
# define swab32(x) (x)
diff --git a/liba52/liba52_changes.diff b/liba52/liba52_changes.diff
index 1b3574f043..e44b84a84d 100644
--- a/liba52/liba52_changes.diff
+++ b/liba52/liba52_changes.diff
@@ -116,7 +116,7 @@
+#endif
+
/* (stolen from the kernel) */
- #ifdef WORDS_BIGENDIAN
+ #if HAVE_BIGENDIAN
@@ -28,7 +68,7 @@