this wasn't mean to go..
This commit is contained in:
parent
289afec95b
commit
325a7a14b3
15
x11/gnome/glom/patches/patch-glom_libglom_connectionpool_cc
Normal file
15
x11/gnome/glom/patches/patch-glom_libglom_connectionpool_cc
Normal 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,
|
Loading…
Reference in New Issue
Block a user