From 4a1971bce5659a562840868671b80b5860e85f70 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Wed, 12 Dec 2018 18:06:25 -0500 Subject: [PATCH] process: SIGUNUSED is deprecated SIGUNUSED is not defined in many environments (it seems to be defined in only one I've tried so far). Hide the reference with #ifdef. Fixes: https://github.com/Zygo/bees/issues/94 Signed-off-by: Zygo Blaxell --- lib/process.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/process.cc b/lib/process.cc index 32cf672..fc31194 100644 --- a/lib/process.cc +++ b/lib/process.cc @@ -203,7 +203,9 @@ namespace crucible { NTOA_TABLE_ENTRY_ENUM(SIGLOST), #endif NTOA_TABLE_ENTRY_ENUM(SIGWINCH), +#ifdef SIGUNUSED NTOA_TABLE_ENTRY_ENUM(SIGUNUSED), +#endif // realtime NTOA_TABLE_ENTRY_ENUM(SIGRTMIN),