-/*
- More Unicode complications: although both ANSI C and C++ define a number of
- wide character functions such as wprintf(), not all environments have them.
- Worse, those which do have different behaviours: under Windows, %s format
- specifier changes its meaning in Unicode build and expects a Unicode string
- while under Unix/POSIX it still means an ASCII string even for wprintf() and
- %ls has to be used for wide strings.
-
- We choose to always emulate Windows behaviour as more useful for us so even
- if we have wprintf() we still must wrap it in a non trivial wxPrintf().
-
-*/
-#ifndef __WINDOWS__
- #define wxNEED_PRINTF_CONVERSION
-#endif
-
-// FIXME-UTF8: format conversion should be moved outside of wxCRT_* and to the
-// vararg templates; after then, wxNEED_PRINTF_CONVERSION should
-// be removed and this code simplified
-#ifndef wxNEED_PRINTF_CONVERSION
- #ifdef wxHAVE_TCHAR_SUPPORT
- #define wxCRT_FprintfW fwprintf
- #define wxCRT_PrintfW wprintf
- #define wxCRT_VfprintfW vfwprintf
- #define wxCRT_VprintfW vwprintf
- #define wxCRT_VsprintfW vswprintf
- #endif
-#endif // !defined(wxNEED_PRINTF_CONVERSION)
-