diff options
Diffstat (limited to 'community/gambas3/fix-typedef-structure.patch')
-rw-r--r-- | community/gambas3/fix-typedef-structure.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/community/gambas3/fix-typedef-structure.patch b/community/gambas3/fix-typedef-structure.patch new file mode 100644 index 000000000..8a5965a5f --- /dev/null +++ b/community/gambas3/fix-typedef-structure.patch @@ -0,0 +1,17 @@ +--- gambas/branches/3.2/main/lib/signal/csignal.c 2012/07/07 22:18:14 4902 ++++ gambas/branches/3.2/main/lib/signal/csignal.c 2012/07/07 22:46:07 4903 +@@ -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 + |