cygwin only

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ryan Norton 2005-04-10 06:35:53 +00:00
parent 9e07d39919
commit 1446dfdbfe

View File

@ -2246,6 +2246,7 @@ enum wxUpdateUI
# define wxALL_FILES gettext_noop("All files (*)|*")
#endif
#if defined(__CYGWIN__)
# 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
@ -2254,6 +2255,7 @@ enum wxUpdateUI
# include <unistd.h>
# undef gethostname
# endif
#endif
/* --------------------------------------------------------------------------- */
/* macros that enable wxWidgets apps to be compiled in absence of the */