changeset 23639:2606b8c645de

Hide our swab prototype when the system has swab since at least the Solaris definition is incompatible with ours (char * vs. void *)
author reimar
date Sun, 24 Jun 2007 17:24:13 +0000
parents a81e246e3b38
children 4eed49de214f
files mpbswap.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mpbswap.h	Sun Jun 24 15:25:32 2007 +0000
+++ b/mpbswap.h	Sun Jun 24 17:24:13 2007 +0000
@@ -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 */