diff --git a/tools/bgpgrep/bgpgrep_local.h b/tools/bgpgrep/bgpgrep_local.h index 208202d..eb5b99b 100755 --- a/tools/bgpgrep/bgpgrep_local.h +++ b/tools/bgpgrep/bgpgrep_local.h @@ -85,7 +85,7 @@ struct Timestampop { // ================================== // Non Local Jumps - error management -#ifdef __GNUC__ +#if defined(__GNUC__) && !defined(__clang__) // Faster alternative, less taxing than standard setjmp(), but comes with // a few gotchas: https://gcc.gnu.org/onlinedocs/gcc/Nonlocal-Gotos.html typedef Sintptr frame_buf[5];