NetBSD: longjmp(jmp_buf, 0) is not supported.

This commit is contained in:
Christian Jullien 2020-12-24 09:29:25 +01:00
parent b9db7c90ee
commit 16ed67537c

View File

@ -145,7 +145,8 @@ static void check (void)
}
last_value = value;
switch (value) {
#ifndef __FreeBSD__ /* longjmp(jmp_buf, 0) not supported */
#if !(defined(__FreeBSD__) || defined(__NetBSD__))
/* longjmp(jmp_buf, 0) not supported */
case 0:
jump (0);
#endif