aboutsummaryrefslogtreecommitdiff
path: root/astro/boinc-setiathome/files/patch-client_vector_hires__timer.cpp
blob: 649f0d9b2841b5cab3ee2225858abd874a13ba5e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- client/vector/hires_timer.cpp.orig	2018-01-14 23:02:12 UTC
+++ client/vector/hires_timer.cpp
@@ -267,7 +267,7 @@ hires_timer::hires_timer() : rollover(0),last_ticks(0)
 #endif
   if (period==0) {
     install_sighandler();
-    if (setjmp(jb)) {
+    if (sigsetjmp(jb,0)) {
       fprintf(stderr,"using fallback timer\n");
       use_fallback=1;
     } else {