]> git.saurik.com Git - wxWidgets.git/commitdiff
include wx/mac/gsockmac.h when compiling wxMac CFM
authorDavid Elliott <dfe@tgwbd.org>
Fri, 6 Aug 2004 19:11:09 +0000 (19:11 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Fri, 6 Aug 2004 19:11:09 +0000 (19:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/gsocket.h

index 8ccedd46dabdd8d210523767ecfc97c0ca2a0511..829a0066d462f1ed0f83b61bd1b6b3f27bf7f7a6 100644 (file)
@@ -413,8 +413,10 @@ GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf);
 #endif /* __cplusplus */
 
 #ifdef wxUSE_GSOCKET_CPLUSPLUS
 #endif /* __cplusplus */
 
 #ifdef wxUSE_GSOCKET_CPLUSPLUS
-# ifdef __WINDOWS__
+# if defined(__WINDOWS__)
 #  include "wx/msw/gsockmsw.h"
 #  include "wx/msw/gsockmsw.h"
+# elif defined(__WXMAC__) && !defined(__DARWIN__)
+#  include "wx/mac/gsockmac.h"
 # else
 #  include "wx/unix/gsockunx.h"
 # endif
 # else
 #  include "wx/unix/gsockunx.h"
 # endif