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)