]> khamidou — GitHub mirrors - electron.git/commitdiff
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 9764d11aea089135e279c6a1bce31a9e527d720e..1ff9c1685c4b9a1982f82a9d31996139b5312259 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 80567cbd49b446115f4e0f622e86d5fd6cece1b5..0c4189b2fac38f6f9ecbc3f58e54fa772f70108c 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 ea394ef8974a06918af0c6f104a07bff3f4e627f..790c4a3af36144fcdd5fe39d0cb6cd622f282434 160000 (submodule)
@@ -1 +1 @@
-Subproject commit ea394ef8974a06918af0c6f104a07bff3f4e627f
+Subproject commit 790c4a3af36144fcdd5fe39d0cb6cd622f282434