mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
java/openjdk11: fix build on non-armv7
A change to one of the patches was not correct for other architectures. PR: 255662 Approved by: broken build
This commit is contained in:
parent
34388df3fd
commit
9f218b263a
@ -15,11 +15,11 @@ In file included from /usr/ports/java/openjdk11/work/jdk11u-jdk-11.0.24-8-1/src/
|
||||
|
||||
// This C bool type must be int for compatibility with BSD calls and
|
||||
// it would be a mistake to equivalence it to C++ bool on many platforms
|
||||
+#if defined(__FreeBSD__) && defined(__arm__) && !defined(__bool_true_false_are_defined)
|
||||
+#if defined(__FreeBSD__) && !defined(__bool_true_false_are_defined)
|
||||
typedef int bool;
|
||||
#define true 1
|
||||
#define false 0
|
||||
+#endif // __FreeBSD__ && __arm__ && !__bool_true_false_are_defined
|
||||
+#endif // __FreeBSD__ && !__bool_true_false_are_defined
|
||||
|
||||
#endif // __APPLE__
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user