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 (*)|*") # define wxALL_FILES gettext_noop("All files (*)|*")
#endif #endif
#if defined(__CYGWIN__)
# if wxUSE_STL || defined(wxUSE_STD_STRING) # if wxUSE_STL || defined(wxUSE_STD_STRING)
//NASTY HACK because the gethostname in sys/unistd.h which the gnu stl includes //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 //and wx builds with by default clash with each other (windows version
@ -2254,6 +2255,7 @@ enum wxUpdateUI
# include <unistd.h> # include <unistd.h>
# undef gethostname # undef gethostname
# endif # endif
#endif
/* --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- */
/* macros that enable wxWidgets apps to be compiled in absence of the */ /* macros that enable wxWidgets apps to be compiled in absence of the */