- Mac compile fix

svn path=/trunk/boinc/; revision=19557
This commit is contained in:
David Anderson 2009-11-12 21:04:56 +00:00
parent 26313fdc41
commit 41f8561fb0
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -154,7 +154,7 @@ void segv_handler(int) {
}
void COPROCS::get(bool use_all, vector<string>&descs, vector<string>&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 {