From 6422a14a8fba3aed079a5ac285e358c700a4dff0 Mon Sep 17 00:00:00 2001 From: Luis Lavena Date: Fri, 2 Sep 2011 19:40:34 -0300 Subject: [PATCH] windows: correct a preprocessor typo GCC chokes on ##name## concatenation (since . and prepare are invalid tokens) --- src/win/loop-watcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/loop-watcher.c b/src/win/loop-watcher.c index 15bfae36..c597cd99 100644 --- a/src/win/loop-watcher.c +++ b/src/win/loop-watcher.c @@ -49,7 +49,7 @@ void uv_loop_watcher_endgame(uv_loop_t* loop, uv_handle_t* handle) { uv_ref(loop); \ \ loop->counters.handle_init++; \ - loop->counters.##name##_init++; \ + loop->counters.name##_init++; \ \ return 0; \ } \