From 41f8561fb08330bd84e8a87fb3acdc8ac5f0a9af Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 12 Nov 2009 21:04:56 +0000 Subject: [PATCH] - Mac compile fix svn path=/trunk/boinc/; revision=19557 --- checkin_notes | 5 +++++ lib/coproc.cpp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 91fd8e038d..5c1881120c 100644 --- a/checkin_notes +++ b/checkin_notes @@ -9140,3 +9140,8 @@ Rom 12 Nov 2009 win_build/installerv2/redist/Windows/x64/ boinccas.dll boinccas95.dll + +David 12 Nov 2009 + - Mac compile fix + lib/ + coproc.cpp diff --git a/lib/coproc.cpp b/lib/coproc.cpp index 1ee7f73139..3c0e455268 100644 --- a/lib/coproc.cpp +++ b/lib/coproc.cpp @@ -154,7 +154,7 @@ void segv_handler(int) { } void COPROCS::get(bool use_all, vector&descs, vector&warnings) { - sighandler_t old_sig = signal(SIGSEGV, segv_handler); + void (*old_sig)(int) = signal(SIGSEGV, segv_handler); if (setjmp(resume)) { warnings.push_back("Caught SIGSEGV in NVIDIA GPU detection"); } else {