From 79d9f62946cf2731334faa64d76039ae1db7fd3e Mon Sep 17 00:00:00 2001 From: Peter Bright Date: Sun, 7 Aug 2011 18:43:24 +0100 Subject: [PATCH] Fix bad platform name. --- tools/all.gyp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tools/all.gyp b/tools/all.gyp index 25970cfdaa..f366f7ae49 100644 --- a/tools/all.gyp +++ b/tools/all.gyp @@ -122,11 +122,14 @@ 'sources': [ '../src/platform_win32.cc', '../src/node_stdio_win32.cc', - '../deps/uv/src/eio/eio.c', # file operations depend on eio to link. uv contains eio in unix builds, but not win32. So we need to compile it here instead. + # file operations depend on eio to link. uv contains eio in unix builds, but not win32. So we need to compile it here instead. + '../deps/uv/src/eio/eio.c', ], 'defines': [ - 'PTW32_STATIC_LIB', # we'll need to add pthread-win32 and build/depend on that. + 'PTW32_STATIC_LIB', 'FD_SETSIZE=1024', + # we need to use node's preferred "win32" rather than gyp's preferred "win" + 'PLATFORM="win32"', ], 'libraries': [ '-lws2_32.lib',