Browse Source

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

master
Lorenzo Cogotti 1 year ago
parent
commit
cb5d775869
  1. 2
      tools/bgpgrep/bgpgrep_local.h

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

Loading…
Cancel
Save