X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b9909c6eb689ca97005005429ed908166cd46d8e..09b895cb4a954494063eb17d3dc302a654fd99e5:/include/wx/wxcrt.h diff --git a/include/wx/wxcrt.h b/include/wx/wxcrt.h index 04b5fa6e4d..1549dc436b 100644 --- a/include/wx/wxcrt.h +++ b/include/wx/wxcrt.h @@ -19,8 +19,11 @@ #include "wx/wxcrtbase.h" #include "wx/string.h" -#if defined (__VISUALC__) || defined (__DMC__) - #define HAVE_NO_VSSCANF 1 +#ifndef __WX_SETUP_H__ +// For non-configure builds assume vsscanf is available, if not Visual C or DMC +#if !defined (__VISUALC__) && !defined (__DMC__) + #define HAVE_VSSCANF 1 +#endif #endif // ============================================================================ @@ -36,9 +39,6 @@ inline bool wxIsEmpty(const wxString& s) { return s.empty(); } inline bool wxIsEmpty(const wxCStrData& s) { return s.AsString().empty(); } -// FIXME-UTF8: get rid of this, it's ANSI only anyway -WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */ - /* multibyte to wide char conversion functions and macros */