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

Commit 79d9f62

Browse files
DrPizzary
authored andcommitted
Fix bad platform name.
1 parent cafe446 commit 79d9f62

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

tools/all.gyp

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,11 +122,14 @@
122122
'sources': [
123123
'../src/platform_win32.cc',
124124
'../src/node_stdio_win32.cc',
125-
'../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.
125+
# file operations depend on eio to link. uv contains eio in unix builds, but not win32. So we need to compile it here instead.
126+
'../deps/uv/src/eio/eio.c',
126127
],
127128
'defines': [
128-
'PTW32_STATIC_LIB', # we'll need to add pthread-win32 and build/depend on that.
129+
'PTW32_STATIC_LIB',
129130
'FD_SETSIZE=1024',
131+
# we need to use node's preferred "win32" rather than gyp's preferred "win"
132+
'PLATFORM="win32"',
130133
],
131134
'libraries': [
132135
'-lws2_32.lib',

0 commit comments

Comments
 (0)