summaryrefslogtreecommitdiffstats
path: root/mpbswap.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-24 17:24:13 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-06-24 17:24:13 +0000
commit3fd9aa819643da2e9e2f4896f85cb4916e014519 (patch)
tree10c289bb6aee05148a6b7876aede8dca67db661f /mpbswap.h
parentd0d23a71dabb6446ef3d396dc73ad12fedb22ff7 (diff)
downloadmpv-3fd9aa819643da2e9e2f4896f85cb4916e014519.tar.bz2
mpv-3fd9aa819643da2e9e2f4896f85cb4916e014519.tar.xz
Hide our swab prototype when the system has swab since at least the
Solaris definition is incompatible with ours (char * vs. void *) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23659 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mpbswap.h')
-rw-r--r--mpbswap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mpbswap.h b/mpbswap.h
index 27cf7b69d5..4171539cda 100644
--- a/mpbswap.h
+++ b/mpbswap.h
@@ -2,6 +2,8 @@
#define MPBSWAP_H
#include "libavutil/bswap.h"
+#ifndef HAVE_SWAB
void swab(const void *from, void *to, ssize_t n);
+#endif
#endif /* MPBSWAP_H */