changeset 18400:73829f8055f0

Fix up some macros for Visual Studio. --rlaager committer: Richard Laager <rlaager@wiktel.com>
author Nick Hebner <hebnern@gmail.com>
date Sun, 01 Jul 2007 01:48:42 +0000
parents 959091d9c345
children 3c6bc8785af9
files libpurple/win32/libc_interface.h
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/win32/libc_interface.h	Sun Jul 01 01:46:01 2007 +0000
+++ b/libpurple/win32/libc_interface.h	Sun Jul 01 01:48:42 2007 +0000
@@ -46,11 +46,11 @@
 #define connect( socket, addr, length ) \
 wpurple_connect( socket, addr, length )
 
-#define getsockopt( args... ) \
-wpurple_getsockopt( args )
+#define getsockopt( socket, level, optname, optval, optlenptr ) \
+wpurple_getsockopt( socket, level, optname, optval, optlenptr )
 
-#define setsockopt( args... ) \
-wpurple_setsockopt( args )
+#define setsockopt( socket, level, optname, optval, optlen ) \
+wpurple_setsockopt( socket, level, optname, optval, optlen )
 
 #define getsockname( socket, addr, lenptr ) \
 wpurple_getsockname( socket, addr, lenptr )