summaryrefslogtreecommitdiff
path: root/lang/php5/patches/patch-aq
blob: 7502fffbc806045cb81b4af0058f9fed95e2fc82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aq,v 1.3 2007/09/04 23:39:31 jdolecek Exp $

--- Zend/zend_extensions.c.orig	2007-09-05 00:24:04.000000000 +0200
+++ Zend/zend_extensions.c
@@ -230,7 +230,7 @@ ZEND_API zend_extension *zend_get_extens
  *
  */
 
-#if HAVE_MACH_O_DYLD_H
+#if defined(HAVE_MACH_O_DYLD_H) && !defined(HAVE_LIBDL)
 
 void *zend_mh_bundle_load(char* bundle_path)
 {
@@ -284,7 +284,7 @@ const char *zend_mh_bundle_error(void)
 	return NULL;
 }
 
-#endif /* HAVE_MACH_O_DYLD_H */
+#endif /* HAVE_MACH_O_DYLD_H && !HAVE_LIBDL */
 
 /*
  * Local variables: