aboutsummaryrefslogblamecommitdiff
path: root/science/mbdyn/files/patch-mbdyn__base__solver.cc
blob: 5862e04ad753c3a801fcfe4fc5f5e512a74d3c4b (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                                                   
 
                                                           
                         



                                         
      



                                        

       

                                      
--- mbdyn/base/solver.cc.orig	2009-06-24 23:13:44.000000000 +0900
+++ mbdyn/base/solver.cc	2009-08-05 11:32:29.000000000 +0900
@@ -109,10 +109,17 @@
 };
 
 volatile sig_atomic_t mbdyn_keep_going = MBDYN_KEEP_GOING;
+#if defined(__FreeBSD__)
+__sighandler_t *mbdyn_sh_term = SIG_DFL;
+__sighandler_t *mbdyn_sh_int = SIG_DFL;
+__sighandler_t *mbdyn_sh_hup = SIG_DFL;
+__sighandler_t *mbdyn_sh_pipe = SIG_DFL;
+#else
 __sighandler_t mbdyn_sh_term = SIG_DFL;
 __sighandler_t mbdyn_sh_int = SIG_DFL;
 __sighandler_t mbdyn_sh_hup = SIG_DFL;
 __sighandler_t mbdyn_sh_pipe = SIG_DFL;
+#endif
 
 extern "C" void
 mbdyn_really_exit_handler(int signum)