bulk of the porting work. Tested on SmartOS 32-bit. 64-bit builds currently fail, they should hopefully be fixed soon.
15 lines
549 B
Text
15 lines
549 B
Text
$NetBSD: patch-ba,v 1.3 2013/06/15 09:31:05 jperkin Exp $
|
|
|
|
DragonFly support.
|
|
|
|
--- hotspot/src/share/vm/utilities/macros.hpp.orig 2012-08-10 16:28:55.000000000 +0000
|
|
+++ hotspot/src/share/vm/utilities/macros.hpp
|
|
@@ -161,7 +161,7 @@
|
|
#define NOT_WINDOWS(code) code
|
|
#endif
|
|
|
|
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
|
|
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__) || defined(__DragonFly__)
|
|
#define BSD_ONLY(code) code
|
|
#define NOT_BSD(code)
|
|
#else
|