From: Vadim Zeitlin Date: Sun, 20 Nov 2005 21:23:53 +0000 (+0000) Subject: we have dlerror() under Darwin X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/67d0bba631bfc329047f2bb3cf3ca4cda5848b73 we have dlerror() under Darwin git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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