mirror of
https://github.com/electron/electron.git
synced 2026-02-16 10:07:05 -05:00
Use NODE_VERSION_AT_LEAST to determine node version
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user