]> git.saurik.com Git - wxWidgets.git/commitdiff
Do not use framework includes in CFM builds.
authorDavid Elliott <dfe@tgwbd.org>
Sun, 31 Oct 2004 21:46:12 +0000 (21:46 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Sun, 31 Oct 2004 21:46:12 +0000 (21:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/corefoundation/stdpaths_cf.cpp

index f38c5a72109b8d82590d787b4b0eb738a6bf7a43..24caa0ff767c49f31923a91c3af93d3b084dd041 100644 (file)
 #include "wx/filename.h"
 #include "wx/mac/corefoundation/cfstring.h"
 
+#if defined(__DARWIN__)
 #include <CoreFoundation/CFBundle.h>
 #include <CoreFoundation/CFURL.h>
+#else
+#include <CFBundle.h>
+#include <CFURL.h>
+#endif
 
 // See comment in include/wx/mac/corefoundation/stdpaths.h
 #ifndef wxStandardPaths