Skip to content
This repository has been archived by the owner on Oct 5, 2019. It is now read-only.

Commit

Permalink
Use NODE_VERSION_AT_LEAST to determine node version
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Sep 30, 2014
1 parent c5b3912 commit cc9d222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native_mate/compat.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit cc9d222

Please sign in to comment.