From bbe3baa41ed0fff567bd24dcaf1dba0e88947efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sat, 7 Jul 2012 22:18:14 +0000 Subject: [PATCH] [GB.SIGNAL] * BUG: Remove an apparently useless type definition, and fix compilation on recent Linux kernels. git-svn-id: svn://localhost/gambas/trunk@4902 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- main/lib/signal/csignal.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main/lib/signal/csignal.c b/main/lib/signal/csignal.c index c4a2bfec0..e706ce28b 100644 --- a/main/lib/signal/csignal.c +++ b/main/lib/signal/csignal.c @@ -40,10 +40,12 @@ #define SIGPWR -1 #endif -#if !defined(OS_BSD) && !defined(OS_CYGWIN) +// How could the following fix a BSD warning if it is not compiled on BSD systems? + +/*#if !defined(OS_BSD) && !defined(OS_CYGWIN) typedef struct siginfo siginfo_t; -#endif +#endif*/ // The -1 signal is used for ignored signal numbers