mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
. Fix compilation on powerpc64
PR: 223834 Submitted by: Curtis Hamilton <hamiltcl@verizon.net>
This commit is contained in:
parent
9154aa2215
commit
37d69a8fea
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486976
1 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,17 @@
|
||||||
|
--- hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp.orig
|
||||||
|
+++ hotspot/src/cpu/ppc/vm/vm_version_ppc.cpp
|
||||||
|
@@ -38,8 +38,13 @@
|
||||||
|
#ifdef TARGET_OS_FAMILY_linux
|
||||||
|
# include "os_linux.inline.hpp"
|
||||||
|
#endif
|
||||||
|
-
|
||||||
|
+#ifdef TARGET_OS_FAMILY_bsd
|
||||||
|
+# include "os_bsd.inline.hpp"
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#ifndef TARGET_OS_FAMILY_bsd
|
||||||
|
# include <sys/sysinfo.h>
|
||||||
|
+#endif
|
||||||
|
|
||||||
|
int VM_Version::_features = VM_Version::unknown_m;
|
||||||
|
int VM_Version::_measured_cache_line_size = 128; // default value
|
Loading…
Add table
Reference in a new issue