summaryrefslogtreecommitdiff
path: root/lang/openjdk7/patches/patch-ba
blob: d211aacd963f7ce69e0c9bcc7e8fbc7e96382ca8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$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