diff options
author | Refael Ackermann <refack@gmail.com> | 2019-02-25 17:27:19 -0500 |
---|---|---|
committer | Refael Ackermann <refack@gmail.com> | 2019-03-12 09:57:19 -0400 |
commit | f2064dfc1fee2daa0537bc27d79d5aa0f734faaf (patch) | |
tree | 8e7c60ae471af748fe710193a3662d13de25c3fe /src/inspector_io.h | |
parent | 902998190a55d6915b881936f6dd5b6e9cca6ad8 (diff) | |
download | android-node-v8-f2064dfc1fee2daa0537bc27d79d5aa0f734faaf.tar.gz android-node-v8-f2064dfc1fee2daa0537bc27d79d5aa0f734faaf.tar.bz2 android-node-v8-f2064dfc1fee2daa0537bc27d79d5aa0f734faaf.zip |
src: de-lint header usage
PR-URL: https://github.com/nodejs/node/pull/26306
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Diffstat (limited to 'src/inspector_io.h')
-rw-r--r-- | src/inspector_io.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/inspector_io.h b/src/inspector_io.h index e4b4ee44f8..0dfb08f470 100644 --- a/src/inspector_io.h +++ b/src/inspector_io.h @@ -1,18 +1,18 @@ -#ifndef SRC_INSPECTOR_IO_H_ -#define SRC_INSPECTOR_IO_H_ +#pragma once #if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS +#if !HAVE_INSPECTOR +#error("This header can only be used when inspector is enabled") +#endif + #include "inspector_socket_server.h" #include "node_mutex.h" + #include "uv.h" -#include <memory> #include <cstddef> - -#if !HAVE_INSPECTOR -#error("This header can only be used when inspector is enabled") -#endif +#include <memory> namespace v8_inspector { @@ -93,5 +93,3 @@ class InspectorIo { } // namespace node #endif // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS - -#endif // SRC_INSPECTOR_IO_H_ |