]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected include for __WXMAC__
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 16 Aug 2003 16:37:01 +0000 (16:37 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 16 Aug 2003 16:37:01 +0000 (16:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appcmn.cpp

index 162512f876e64406ae2e43bc92e35fd0d38aa6c6..751e359b7b2b4deb9f505d63acecd5d8b9be32f0 100644 (file)
@@ -502,6 +502,14 @@ void wxGUIAppTraitsBase::RemoveFromPendingDelete(wxObject *object)
     #include "wx/unix/gsockunx.h"
 #elif defined(__WINDOWS__)
     #include "wx/msw/gsockmsw.h"
+#elif defined(__WXMAC__)
+  #include <MacHeaders.c>
+  #define OTUNIXERRORS 1
+  #include <OpenTransport.h>
+  #include <OpenTransportProviders.h>
+  #include <OpenTptInternet.h>
+
+  #include "wx/mac/gsockmac.h"
 #else
     #error "Must include correct GSocket header here"
 #endif