openbsd-ports/benchmarks/ubench/patches/patch-signals_c
2004-06-03 07:52:30 +00:00

13 lines
326 B
Plaintext

$OpenBSD: patch-signals_c,v 1.1 2004/06/03 07:52:30 xsa Exp $
--- signals.c.orig 2000-05-29 05:16:05.000000000 +0200
+++ signals.c 2004-06-03 09:41:21.000000000 +0200
@@ -22,7 +22,7 @@
#include <signal.h>
#include <setjmp.h>
-#ifdef SunOS
+#if defined(SunOS) || defined(__OpenBSD__)
sigjmp_buf env;
#else
jmp_buf env;