Permalink
Browse files

fix windows build

  • Loading branch information...
1 parent 60040a4 commit 95844451b6651fa5ad66a09f971cc139b90c63aa Igor Zinkovsky committed Jan 16, 2012
Showing with 9 additions and 0 deletions.
  1. +2 −0 node.gyp
  2. +3 −0 src/ngx-queue.h
  3. +4 −0 src/node_vars.h
View
@@ -8,6 +8,7 @@
'node_use_dtrace': 'false',
'node_use_openssl%': 'true',
'node_use_system_openssl%': 'false',
+ 'node_use_isolates%': 'true',
'library_files': [
'src/node.js',
'lib/_debugger.js',
@@ -94,6 +95,7 @@
'src/v8_typed_array.cc',
'src/udp_wrap.cc',
# headers to make for a more pleasant IDE experience
+ 'src/ngx-queue.h',
'src/handle_wrap.h',
'src/node.h',
'src/node_vars.h',
View
@@ -7,6 +7,9 @@
#ifndef _NGX_QUEUE_H_INCLUDED_
#define _NGX_QUEUE_H_INCLUDED_
+#ifdef _WIN32
+# include <stddef.h>
+#endif
typedef struct ngx_queue_s ngx_queue_t;
View
@@ -9,6 +9,10 @@
#include <uv.h>
#include <http_parser.h>
+#if defined(_MSC_VER)
+# define PATH_MAX MAX_PATH
+#endif
+
#ifndef PATH_MAX
# define PATH_MAX 4096
#endif

0 comments on commit 9584445

Please sign in to comment.