#endif /* Unicode/ASCII */
#endif /* TCHAR-aware compilers/the others */
-#ifdef wxStrtoll
- #define wxHAS_STRTOLL
-#endif
-
/*
various special cases
*/
#ifndef wxVsnprintf_
#if defined(__VISUALC__) || \
(defined(__BORLANDC__) && __BORLANDC__ >= 0x540)
+ #define wxSnprintf_ _sntprintf
#define wxVsnprintf_ _vsntprintf
WX_DEFINE_VARARG_FUNC(int, wxSnprintf_, _sntprintf)
#endif
#define wxUSE_WXVSNPRINTF 0
#endif
+#ifndef wxStrtoll
+ /* supply strtoll and strtoull, if needed */
+ WXDLLIMPEXP_BASE wxLongLong_t wxStrtoll(const wxChar* nptr, wxChar** endptr, int base);
+ WXDLLIMPEXP_BASE wxULongLong_t wxStrtoull(const wxChar* nptr, wxChar** endptr, int base);
+#endif
+
+#define wxHAS_STRTOLL
+
/*
In Unicode mode we need to have all standard functions such as wprintf() and
so on but not all systems have them so use our own implementations in this