diff options
author | Anna Henningsen <anna@addaleax.net> | 2016-05-31 20:28:05 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2016-06-01 21:27:01 +0300 |
commit | 3e7c5bcf8702b3a950517d39411cd1bb02f9cb4a (patch) | |
tree | 15c544c86693f90a7c8a0eda8d0a319eedb322c1 /src/signal_wrap.cc | |
parent | 27e84ddd4e10cdb40d6e89d872277abe16830eb0 (diff) |
src: fix --without-inspector build
Use `HAVE_INSPECTOR` as the 0/1 boolean macro that it is, as opposed
to a defined/not-defined boolean.
PR-URL: https://github.com/nodejs/node/pull/7078
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'src/signal_wrap.cc')
-rw-r--r-- | src/signal_wrap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/signal_wrap.cc b/src/signal_wrap.cc index 8d31dbf6233..280c9e3eb91 100644 --- a/src/signal_wrap.cc +++ b/src/signal_wrap.cc @@ -65,7 +65,7 @@ class SignalWrap : public HandleWrap { SignalWrap* wrap; ASSIGN_OR_RETURN_UNWRAP(&wrap, args.Holder()); int signum = args[0]->Int32Value(); -#if defined(__POSIX__) && defined(HAVE_INSPECTOR) +#if defined(__POSIX__) && HAVE_INSPECTOR if (signum == SIGPROF) { Environment* env = Environment::GetCurrent(args); if (env->inspector_agent()->IsStarted()) { |