]> git.saurik.com Git - wxWidgets.git/commitdiff
...and msw only of course
authorRyan Norton <wxprojects@comcast.net>
Sun, 10 Apr 2005 06:37:19 +0000 (06:37 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sun, 10 Apr 2005 06:37:19 +0000 (06:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/defs.h

index 05cc3427cb3c7b948ecf61a9abe4267ae6f857a6..0c9d550056527a5ec9d51bd38c3b1777f9348ce7 100644 (file)
@@ -2246,7 +2246,7 @@ enum wxUpdateUI
 #   define wxALL_FILES           gettext_noop("All files (*)|*")
 #endif
 
-#if defined(__CYGWIN__)
+#if defined(__CYGWIN__) && defined(__WXMSW__)
 #   if wxUSE_STL || defined(wxUSE_STD_STRING)
          //NASTY HACK because the gethostname in sys/unistd.h which the gnu stl includes
          //and wx builds with by default clash with each other (windows version