Some doc corrections; various small fixes for Cygwin and BC++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,6 +185,9 @@
|
||||
#elif defined(__WATCOMC__) && (__WATCOMC__ >= 1100)
|
||||
// Watcom 11+ supports bool
|
||||
#define HAVE_BOOL
|
||||
#elif defined(__GNUWIN32__)
|
||||
// Cygwin supports bool
|
||||
#define HAVE_BOOL
|
||||
#endif // compilers
|
||||
#endif // HAVE_BOOL
|
||||
|
||||
|
||||
@@ -272,6 +272,8 @@ WXDLLEXPORT_DATA(extern wxMBConv) wxConvLibc, wxConvFile;
|
||||
#define wxConv_file wxConvFile
|
||||
WXDLLEXPORT_DATA(extern wxMBConv *) wxConvCurrent;
|
||||
#define wxConv_current wxConvCurrent
|
||||
#define wxFNCONV(name) name
|
||||
#define FNSTRINGCAST WXSTRINGCAST
|
||||
#endif//wxUSE_WCHAR_T
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
@@ -216,6 +216,8 @@ inline WORD __wxMSW_ctype(wxChar ch)
|
||||
#else
|
||||
#define wxUSE_WCHAR_T 0
|
||||
#endif
|
||||
#elif defined(__GNUWIN32__) && !defined(__MINGW32__) // Cygwin (not Mingw32) doesn't have wcslen.h, needed in buffer.h
|
||||
#define wxUSE_WCHAR_T 0
|
||||
#else
|
||||
// add additional compiler checks if this fails
|
||||
#define wxUSE_WCHAR_T 1
|
||||
|
||||
Reference in New Issue
Block a user