Skip to content

Commit

Permalink
Add NAN_HAS_CPLUSPLUS17 macro
Browse files Browse the repository at this point in the history
  • Loading branch information
robinchrist committed Nov 30, 2019
1 parent 60e86a9 commit 8eedb5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nan.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
# error This version of node/NAN/v8 requires a C++11 compiler
#endif

#define NAN_HAS_CPLUSPLUS_17 (__cplusplus >= 201703L)

#include <uv.h>
#include <node.h>
#include <node_buffer.h>
Expand Down

0 comments on commit 8eedb5f

Please sign in to comment.