diff options
Diffstat (limited to 'java/shujit/files/patch-compiler.h')
-rw-r--r-- | java/shujit/files/patch-compiler.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/java/shujit/files/patch-compiler.h b/java/shujit/files/patch-compiler.h index e09936351590..c6a3b200ca38 100644 --- a/java/shujit/files/patch-compiler.h +++ b/java/shujit/files/patch-compiler.h @@ -12,3 +12,12 @@ $FreeBSD$ # ifndef _UINT16_T # define _UINT16_T typedef unsigned short uint16_t; +@@ -196,7 +196,7 @@ + # include <linux/version.h> // for kernel version + # elif defined(__FreeBSD__) || defined(__NetBSD__) + # ifdef __FreeBSD__ +-# if __FreeBSD__ >= 4 && JDK_VER < 12 ++# if __FreeBSD__ == 4 && JDK_VER < 12 + // In this case, the 3rd arg. of sig. handler is not (sigcontext *). + # define SIGCONTEXT_T struct osigcontext + # else |