[PATCH] variable number of arguments in macro __ONLY_IN_WINELIB()

Berend Reitsma breitsma at gmail.com
Tue Nov 8 08:32:33 CST 2005


Skipped content of type multipart/alternative-------------- next part --------------
Index: include/windef.h
===================================================================
RCS file: /home/wine/wine/include/windef.h,v
retrieving revision 1.100
diff -u -r1.100 windef.h
--- include/windef.h	4 Oct 2005 11:30:27 -0000	1.100
+++ include/windef.h	8 Nov 2005 14:26:02 -0000
@@ -72,9 +72,9 @@
 #endif /* __cdecl */
 
 #ifdef __WINESRC__
-#define __ONLY_IN_WINELIB(x)	do_not_use_this_in_wine
+#define __ONLY_IN_WINELIB(...)	do_not_use_this_in_wine
 #else
-#define __ONLY_IN_WINELIB(x)	x
+#define __ONLY_IN_WINELIB(...)	__VA_ARGS__
 #endif
 
 #ifndef pascal




More information about the wine-devel mailing list