Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix bad platform name.
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPizza authored and ry committed Aug 7, 2011
1 parent cafe446 commit 79d9f62
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tools/all.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 79d9f62

Please sign in to comment.