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:
@@ -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
|
||||
|
Reference in New Issue
Block a user