Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix bad platform name.

  • Loading branch information...
commit 79d9f62946cf2731334faa64d76039ae1db7fd3e 1 parent cafe446
@DrPizza DrPizza authored ry committed
Showing with 5 additions and 2 deletions.
  1. +5 −2 tools/all.gyp
View
7 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',
Please sign in to comment.
Something went wrong with that request. Please try again.