win: Fix linking errors
authorCheng Zhao <zcbenz@gmail.com>
Wed, 1 Apr 2015 13:33:08 +0000 (21:33 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Wed, 1 Apr 2015 13:33:08 +0000 (21:33 +0800)
atom/common/node_bindings.cc
atom/common/node_includes.h
vendor/node

index 9764d11..1ff9c16 100644 (file)
 
 using content::BrowserThread;
 
-// Forward declaration of internal node functions.
-namespace node {
-void Init(int*, const char**, int*, const char***);
-}
-
 // Force all builtin modules to be referenced so they can actually run their
 // DSO constructors, see http://git.io/DRIqCg.
 #define REFERENCE_MODULE(name) \
index 80567cb..0c4189b 100644 (file)
@@ -7,6 +7,8 @@
 
 // Include common headers for using node APIs.
 
+#define BUILDING_NODE_EXTENSION
+
 #undef ASSERT
 #undef CHECK
 #undef CHECK_EQ
index ea394ef..790c4a3 160000 (submodule)
@@ -1 +1 @@
-Subproject commit ea394ef8974a06918af0c6f104a07bff3f4e627f
+Subproject commit 790c4a3af36144fcdd5fe39d0cb6cd622f282434