diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-24 17:24:13 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-24 17:24:13 +0000 |
commit | 3fd9aa819643da2e9e2f4896f85cb4916e014519 (patch) | |
tree | 10c289bb6aee05148a6b7876aede8dca67db661f /mpbswap.h | |
parent | d0d23a71dabb6446ef3d396dc73ad12fedb22ff7 (diff) | |
download | mpv-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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 */ |