From 3fd9aa819643da2e9e2f4896f85cb4916e014519 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 24 Jun 2007 17:24:13 +0000 Subject: 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 --- mpbswap.h | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- cgit v1.2.3