From 67d0bba631bfc329047f2bb3cf3ca4cda5848b73 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 20 Nov 2005 21:23:53 +0000 Subject: [PATCH] we have dlerror() under Darwin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/dynlib.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/wx/dynlib.h b/include/wx/dynlib.h index 85be309e87..58c81afebd 100644 --- a/include/wx/dynlib.h +++ b/include/wx/dynlib.h @@ -27,7 +27,8 @@ #include "wx/msw/private.h" #endif -#if defined(HAVE_DLERROR) && !defined(__EMX__) +// note that we have our own dlerror() implementation under Darwin +#if (defined(HAVE_DLERROR) && !defined(__EMX__)) || defined(__DARWIN__) #define wxHAVE_DYNLIB_ERROR #endif