]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynlib.h
include wx/object.h now that wxConfigBase derives from wxObject
[wxWidgets.git] / include / wx / dynlib.h
index 85be309e87cb299d546535151d8a08109a7d3ef7..58c81afebd027a2733e7197a1cf0fe14215d1672 100644 (file)
@@ -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