summaryrefslogtreecommitdiffstats
path: root/databases/glom/files/patch-glom_libglom_connectionpool.cc
blob: b1f9b2c5088dd38e2d7e4fe6c9cc8807114701c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- glom/libglom/connectionpool.cc.orig 2008-04-29 18:10:54.000000000 +0200
+++ glom/libglom/connectionpool.cc  2008-08-08 02:39:55.000000000 +0200
@@ -789,7 +789,11 @@ bool ConnectionPool::directory_exists_ur
 // TODO: This is probably mingw specific
 static __p_sig_fn_t previous_sig_handler = SIG_DFL;
 #else
+#  ifdef __FreeBSD__
+static __sighandler_t *previous_sig_handler = SIG_DFL; /* Arbitrary default */
+#  else
 static sighandler_t previous_sig_handler = SIG_DFL; /* Arbitrary default */
+#  endif
 #endif
 
 /* This is a Linux/Unix signal handler,