Skip to content

Commit

Permalink
Update comment regarding preprocessor flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel Schulhof committed Sep 28, 2018
1 parent dac0443 commit 66f9586
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ At build time, the N-API back-compat library code will be used only when the
targeted node version *does not* have N-API built-in.

The preprocessor directive `NODE_ADDON_API_DISABLE_DEPRECATED` can be defined at
compile time to skip the definition of deprecated APIs.
compile time before including `napi.h` to skip the definition of deprecated APIs.

0 comments on commit 66f9586

Please sign in to comment.