Allow compiling wxMotif/GTK/X11 for Cygwin/XFree

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon
2002-07-17 16:58:05 +00:00
parent b18b32a196
commit 17234b2644
5 changed files with 827 additions and 756 deletions

View File

@@ -303,6 +303,8 @@ typedef _TUCHAR wxUChar;
# if wxUSE_WCHAR_T
# ifdef HAVE_WCHAR_H
// include wchar.h to get wcslen() declaration used by wx/buffer.h
// stddef.h is needed for Cygwin
# include <stddef.h>
# include <wchar.h>
# elif defined(HAVE_WCSTR_H)
// old compilers have wcslen() here