[tools/bgpgrep] Support __builtin_longjmp() only on GCC

This commit is contained in:
Lorenzo Cogotti 2021-06-08 01:18:12 +02:00
parent 01c4311eb7
commit cb5d775869
1 changed files with 1 additions and 1 deletions

View File

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