Use NODE_VERSION_AT_LEAST to determine node version
This commit is contained in:
parent
c5b39126ee
commit
cc9d222923
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue