summaryrefslogtreecommitdiff
path: root/java/shujit/files/patch-compiler.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2003-07-08 08:48:57 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2003-07-08 08:48:57 +0000
commit582b8cc56ed070656eb6e43dad69337ebde11611 (patch)
tree3e7c6f55be2f6552776e63e62159fb001b837979 /java/shujit/files/patch-compiler.h
parentAdd p5-DateTime-Format-ICal 0.06, (diff)
Unbreak and grab maintainership.
Notes
Notes: svn path=/head/; revision=84451
Diffstat (limited to 'java/shujit/files/patch-compiler.h')
-rw-r--r--java/shujit/files/patch-compiler.h9
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