summaryrefslogtreecommitdiff
path: root/lang/japhar/patches/patch-ab
blob: 342a805a665ac16cd2c35227f431f729bb294d08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.3 2006/06/04 13:52:57 joerg Exp $

--- include/dynamic_loading.h.orig	2006-05-21 16:00:36.000000000 +0000
+++ include/dynamic_loading.h
@@ -29,7 +29,7 @@ extern "C" {
 #endif
 
 #if defined USE_DLL && ( defined HAVE_DLFCN_H || defined HAVE_DL_H )
-#  if (__FreeBSD__ < 3  && !defined( PROFILING )) || !defined(__FreeBSD__)
+#  if (defined(__FreeBSD__) && __FreeBSD__ < 3  && !defined( PROFILING )) || !defined(__FreeBSD__)
 #   define HAVE_DLL
 #  endif
 #endif