this wasn't mean to go..

This commit is contained in:
jasper 2011-10-10 20:14:48 +00:00
parent 289afec95b
commit 325a7a14b3

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-glom_libglom_connectionpool_cc,v 1.3 2011/10/10 20:14:48 jasper Exp $
--- glom/libglom/connectionpool.cc.orig Mon Oct 10 11:09:42 2011
+++ glom/libglom/connectionpool.cc Mon Oct 10 20:42:08 2011
@@ -561,8 +561,10 @@ bool ConnectionPool::handle_error_cerr_only()
#ifdef G_OS_WIN32
// TODO: This is probably mingw specific
static __p_sig_fn_t previous_sig_handler = SIG_DFL;
-#else
+#elif defined(__linux__)
static sighandler_t previous_sig_handler = SIG_DFL; /* Arbitrary default */
+#else
+static sig_t previous_sig_handler = SIG_DFL;
#endif
/* This is a Linux/Unix signal handler,