summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Keil <jkeil@users.sourceforge.net>2002-10-07 14:17:05 +0000
committerJuergen Keil <jkeil@users.sourceforge.net>2002-10-07 14:17:05 +0000
commita873b381a062a21ad0387fbef423a60e28b6b8da (patch)
tree7ee2c37427091bd1e33b2954c0789452867fbc23
parent18f9e60c7e5e60657f416be2a0427ae8ee8267c8 (diff)
downloadxine-lib-a873b381a062a21ad0387fbef423a60e28b6b8da.tar.gz
xine-lib-a873b381a062a21ad0387fbef423a60e28b6b8da.tar.bz2
Remove the vsscanf prototype for solaris, it's incompatible with the one
contained in the solaris9 <stdio.h> CVS patchset: 2800 CVS date: 2002/10/07 14:17:05
-rw-r--r--src/libw32dll/wine/win32.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libw32dll/wine/win32.c b/src/libw32dll/wine/win32.c
index a6a5f7e17..144c1ade8 100644
--- a/src/libw32dll/wine/win32.c
+++ b/src/libw32dll/wine/win32.c
@@ -48,7 +48,13 @@ for DLL to know too much about its environment.
#endif
#if HAVE_VSSCANF
+# ifndef __sun
+/*
+ * On solaris, remove the prototype for now; it's incompatible with the one
+ * from solaris9 stdio.h
+ */
int vsscanf( const char *str, const char *format, va_list ap);
+# endif
#else
/* system has no vsscanf. try to provide one */
static int vsscanf( const char *str, const char *format, va_list ap)