Update node headers including
authorCheng Zhao <zcbenz@gmail.com>
Thu, 21 Jul 2016 06:51:57 +0000 (00:51 -0600)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 21 Jul 2016 06:57:34 +0000 (00:57 -0600)
atom/app/node_main.cc
atom/common/native_mate_converters/v8_value_converter.cc
atom/common/node_includes.h

index 6f71d39..d06e89c 100644 (file)
@@ -7,7 +7,6 @@
 #include "atom/app/uv_task_runner.h"
 #include "atom/browser/javascript_environment.h"
 #include "atom/browser/node_debugger.h"
-#include "atom/common/node_includes.h"
 #include "base/command_line.h"
 #include "base/feature_list.h"
 #include "base/thread_task_runner_handle.h"
@@ -15,6 +14,8 @@
 #include "gin/public/isolate_holder.h"
 #include "gin/v8_initializer.h"
 
+#include "atom/common/node_includes.h"
+
 namespace atom {
 
 int NodeMain(int argc, char *argv[]) {
index 37e09ae..d53fe6f 100644 (file)
@@ -12,7 +12,8 @@
 #include "base/memory/scoped_ptr.h"
 #include "base/values.h"
 #include "native_mate/dictionary.h"
-#include "vendor/node/src/node_buffer.h"
+
+#include "atom/common/node_includes.h"
 
 namespace atom {
 
index 46b6fa0..01efa6b 100644 (file)
@@ -19,6 +19,7 @@
 #undef CHECK_GT
 #undef CHECK_LE
 #undef CHECK_LT
+#undef UNLIKELY
 #undef DISALLOW_COPY_AND_ASSIGN
 #undef NO_RETURN
 #undef arraysize