Make dbus/sigsegv.c compile on OSX.
git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@3811 0c269be4-1314-0410-8aa9-9f06e86f4224
This commit is contained in:
parent
bc308cb247
commit
e84187fadf
|
@ -26,12 +26,10 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <signal.h>
|
||||
#include <ucontext.h>
|
||||
#include <dlfcn.h>
|
||||
#include <execinfo.h>
|
||||
#include <errno.h>
|
||||
#ifndef NO_CPP_DEMANGLE
|
||||
//#include <cxxabi.h>
|
||||
char * __cxa_demangle(const char * __mangled_name, char * __output_buffer, size_t * __length, int * __status);
|
||||
#endif
|
||||
|
||||
|
@ -56,6 +54,8 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr)
|
|||
|
||||
#else
|
||||
|
||||
#include <ucontext.h>
|
||||
|
||||
static void signal_segv(int signum, siginfo_t* info, void*ptr) {
|
||||
static const char *si_codes[3] = {"", "SEGV_MAPERR", "SEGV_ACCERR"};
|
||||
|
||||
|
|
|
@ -409,7 +409,8 @@ JackCoreAudioDriver::JackCoreAudioDriver(const char* name, const char* alias, Ja
|
|||
fState(false),
|
||||
fHogged(false),
|
||||
fIOUsage(1.f),
|
||||
fComputationGrain(-1.f)
|
||||
fComputationGrain(-1.f),
|
||||
fClockDriftCompensate(false)
|
||||
{}
|
||||
|
||||
JackCoreAudioDriver::~JackCoreAudioDriver()
|
||||
|
|
Loading…
Reference in New Issue