aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk/files/patch-codecs::mp3::include::L3.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk/files/patch-codecs::mp3::include::L3.h')
-rw-r--r--net/asterisk/files/patch-codecs::mp3::include::L3.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/asterisk/files/patch-codecs::mp3::include::L3.h b/net/asterisk/files/patch-codecs::mp3::include::L3.h
new file mode 100644
index 000000000000..50d7345c39a4
--- /dev/null
+++ b/net/asterisk/files/patch-codecs::mp3::include::L3.h
@@ -0,0 +1,20 @@
+
+$FreeBSD$
+
+--- codecs/mp3/include/L3.h.orig Wed Feb 12 15:59:14 2003
++++ codecs/mp3/include/L3.h Fri Oct 17 11:27:30 2003
+@@ -49,6 +49,14 @@
+ #define LITTLE_ENDIAN 0
+ #endif
+
++#if BYTE_ORDER == LITTLE_ENDIAN
++#define LITTLE_ENDIAN 1
++#endif
++
++#if BYTE_ORDER == BIG_ENDIAN
++#define LITTLE_ENDIAN 0
++#endif
++
+ #ifndef LITTLE_ENDIAN
+ #error Layer III LITTLE_ENDIAN must be defined 0 or 1
+ #endif