blob: c6a3b200ca387317cce9eed5a7fbb8b51e334957 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$FreeBSD$
--- compiler.h 2003/02/16 00:04:39 1.1
+++ compiler.h 2003/02/16 00:05:09
@@ -60,7 +60,7 @@
// Additional type definition
-#if !(defined(_ILP32) || defined(_LP64) || defined(_SYS_INTTYPES_H_) /* for FreeBSD */)
+#if !(defined(_ILP32) || defined(_LP64) || defined(__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
|