From cc9d22292361e8b74e82a4e6a77407c17b4bfda7 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 30 Sep 2014 22:44:27 +0800 Subject: [PATCH] Use NODE_VERSION_AT_LEAST to determine node version --- native_mate/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native_mate/compat.h b/native_mate/compat.h index 710171eb26cf..021c0ca2cee4 100644 --- a/native_mate/compat.h +++ b/native_mate/compat.h @@ -7,7 +7,7 @@ #include "node_version.h" -#if (NODE_MODULE_VERSION > 0x000B) // Node 0.11+ +#if NODE_VERSION_AT_LEAST(0, 11, 0) #define MATE_HANDLE_SCOPE(isolate) v8::HandleScope handle_scope(isolate)