summaryrefslogtreecommitdiffstats
path: root/mpbswap.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-07 11:58:07 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-12-07 11:58:07 +0000
commit18004d2d98875ceb46484d3dd39ba51342d8bd0e (patch)
tree2b91c9b46bb66c69a3389ae6bdaeb91eb46fc14f /mpbswap.h
parente15d11c89edfddaabd460a0c87a4d6d379d59189 (diff)
downloadmpv-18004d2d98875ceb46484d3dd39ba51342d8bd0e.tar.bz2
mpv-18004d2d98875ceb46484d3dd39ba51342d8bd0e.tar.xz
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mpbswap.h')
-rw-r--r--mpbswap.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/mpbswap.h b/mpbswap.h
new file mode 100644
index 0000000000..a8565fa8d8
--- /dev/null
+++ b/mpbswap.h
@@ -0,0 +1,8 @@
+#ifndef MPBSWAP_H
+#define MPBSWAP_H
+
+#define always_inline inline
+#include "libavutil/bswap.h"
+#undef always_inline
+
+#endif /* MPBSWAP_H */