diff options
author | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-04-19 19:32:35 +0200 |
---|---|---|
committer | Bernd Kuhls <bernd.kuhls@t-online.de> | 2016-04-19 19:34:39 +0200 |
commit | 628a52265fb78613e3d3b1775aa0a0f7bbce884c (patch) | |
tree | ac836941643b2967292834b3c293ea95714174fe | |
parent | 3dbd4b92feff2b0e103a750e0ba0549d93883473 (diff) | |
download | jack2-628a52265fb78613e3d3b1775aa0a0f7bbce884c.tar.gz |
Add support for nios2
When compiling jack on nios2, compilation fails because NGREGS is not
defined. Since this is only for debug output on segmentation faults, stub
the debug print out like it's been done for other platforms before.
Inspired by
https://github.com/jackaudio/jack2/commit/d11bb095291d8880508c87adfe625bf2bcab1456
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
-rw-r--r-- | dbus/sigsegv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbus/sigsegv.c b/dbus/sigsegv.c index 64c3986a..ee12f918 100644 --- a/dbus/sigsegv.c +++ b/dbus/sigsegv.c @@ -104,7 +104,7 @@ static void signal_segv(int signum, siginfo_t* info, void*ptr) { jack_error("info.si_errno = %d", info->si_errno); jack_error("info.si_code = %d (%s)", info->si_code, si_code_str); jack_error("info.si_addr = %p", info->si_addr); -#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__) +#if !defined(__alpha__) && !defined(__ia64__) && !defined(__FreeBSD_kernel__) && !defined(__arm__) && !defined(__hppa__) && !defined(__sh__) && !defined(__aarch64__) && !defined(nios2) for(i = 0; i < NGREG; i++) jack_error("reg[%02d] = 0x" REGFORMAT, i, #if defined(__powerpc64__) |