Sven Baars sven.wine@gmail.com writes:
@@ -250,6 +250,12 @@ static inline const char *wine_dbgstr_longlong( ULONGLONG ll ) #define WINE_DPRINTF wine_dbg_printf #define WINE_MESSAGE wine_dbg_printf
+#define WINE_ONCE(do_once) \
- do{ static int wine_once_var; \
- if (!wine_once_var) { \
wine_once_var = 1; \
do_once; } } while(0)
I don't think that buys anything over spelling it out explicitly.