diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2016-05-24 10:54:05 +0300 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2016-05-25 10:54:24 +0300 |
commit | eff96d32dc3dce00f6dc60461d43328965cb214f (patch) | |
tree | 4d1dd69ddd7eb502d1a8f2f3216b2a3a4546f936 /src/node_win32_etw_provider.h | |
parent | 54785f59e16179dc66f00f97e13dce40661447bd (diff) |
src: add include guards to internal headers
For consistency with the newly added src/base64.h header, check that
NODE_WANT_INTERNALS is defined and set in internal headers.
PR-URL: https://github.com/nodejs/node/pull/6948
Refs: https://github.com/nodejs/node/pull/6910
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'src/node_win32_etw_provider.h')
-rw-r--r-- | src/node_win32_etw_provider.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/node_win32_etw_provider.h b/src/node_win32_etw_provider.h index 23242349cdc..baf9e38539f 100644 --- a/src/node_win32_etw_provider.h +++ b/src/node_win32_etw_provider.h @@ -1,6 +1,8 @@ #ifndef SRC_NODE_WIN32_ETW_PROVIDER_H_ #define SRC_NODE_WIN32_ETW_PROVIDER_H_ +#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS + #include "node_dtrace.h" #include <evntprov.h> @@ -71,4 +73,6 @@ INLINE bool NODE_V8SYMBOL_ENABLED(); } // namespace node +#endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS + #endif // SRC_NODE_WIN32_ETW_PROVIDER_H_ |