27 lines
580 B
Text
27 lines
580 B
Text
$NetBSD: patch-az,v 1.1 2007/03/14 17:12:47 yyamano Exp $
|
|
|
|
--- src/ptlib/unix/udll.cxx.orig 2004-05-11 10:15:53.000000000 +0900
|
|
+++ src/ptlib/unix/udll.cxx
|
|
@@ -88,6 +88,7 @@
|
|
#include <ptlib.h>
|
|
|
|
#ifdef P_MACOSX
|
|
+#if P_MACOSX < 700
|
|
|
|
/*
|
|
Copyright (c) 2002 Peter O'Gorman <ogorman@users.sourceforge.net>
|
|
@@ -326,7 +327,13 @@ static void *dlsym(void *handle, const c
|
|
return value;
|
|
}
|
|
|
|
-#endif
|
|
+#else
|
|
+
|
|
+// The functionality implemented above ships directly with MacOSX 10.3 and later
|
|
+#include <dlfcn.h>
|
|
+#endif // P_MACOSX < 700
|
|
+
|
|
+#endif // P_MACOSX
|
|
|
|
#ifndef P_DYNALINK
|
|
|