]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynlib.h
Change GetC to return an int so that it can return wxEOF on error.
[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