changed #ifdef wxUSE_XXX into #if wxUSE_XXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -41,13 +41,7 @@
|
|||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
// This probably isn't right, what should it be Vadim?
|
#if wxUSE_WCSRTOMBS
|
||||||
// Otherwise we end up with no wxVsprintf defined.
|
|
||||||
#ifdef __WXMOTIF__
|
|
||||||
#define HAVE_VPRINTF
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef wxUSE_WCSRTOMBS
|
|
||||||
#include <wchar.h> // for wcsrtombs(), see comments where it's used
|
#include <wchar.h> // for wcsrtombs(), see comments where it's used
|
||||||
#endif // GNU
|
#endif // GNU
|
||||||
|
|
||||||
@@ -277,7 +271,7 @@ wxString::wxString(const wchar_t *pwz)
|
|||||||
|
|
||||||
// NB: GNU libc5 wcstombs() is completely broken, don't use it (it doesn't
|
// NB: GNU libc5 wcstombs() is completely broken, don't use it (it doesn't
|
||||||
// honor the 3rd parameter, thus it will happily crash here).
|
// honor the 3rd parameter, thus it will happily crash here).
|
||||||
#ifdef wxUSE_WCSRTOMBS
|
#if wxUSE_WCSRTOMBS
|
||||||
// don't know if it's really needed (or if we can pass NULL), but better safe
|
// don't know if it's really needed (or if we can pass NULL), but better safe
|
||||||
// than quick
|
// than quick
|
||||||
mbstate_t mbstate;
|
mbstate_t mbstate;
|
||||||
|
Reference in New Issue
Block a user