[gjs: 5/12] profiler: Fix mistake in HAVE_SIGNAL_H preprocessor guard
- From: Philip Chimento <pchimento src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs: 5/12] profiler: Fix mistake in HAVE_SIGNAL_H preprocessor guard
- Date: Mon, 30 Nov 2020 21:29:29 +0000 (UTC)
commit 7922fe8989f8d736999a7c34a89bd13f950e62a7
Author: Philip Chimento <philip chimento gmail com>
Date: Mon Nov 23 22:35:02 2020 -0800
profiler: Fix mistake in HAVE_SIGNAL_H preprocessor guard
Caught by IWYU.
gjs/profiler.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gjs/profiler.cpp b/gjs/profiler.cpp
index b0b267b6..85851286 100644
--- a/gjs/profiler.cpp
+++ b/gjs/profiler.cpp
@@ -3,7 +3,7 @@
#include <config.h> // for ENABLE_PROFILER, HAVE_SYS_SYSCALL_H, HAVE_UNISTD_H
-#ifndef HAVE_SIGNAL_H
+#ifdef HAVE_SIGNAL_H
# include <signal.h> // for siginfo_t, sigevent, sigaction, SIGPROF, ...
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]