X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fc1f568e2377b374346631701989dbd73bd6307f..c282ec44024689f736f76772a3ffd1fccf4b7d07:/include/wx/wxcrtvararg.h diff --git a/include/wx/wxcrtvararg.h b/include/wx/wxcrtvararg.h index 272bbcf85e..9a9aa4cc5a 100644 --- a/include/wx/wxcrtvararg.h +++ b/include/wx/wxcrtvararg.h @@ -224,12 +224,26 @@ int wxCRT_SscanfW(const wchar_t *str, const wchar_t *format, ...); int wxCRT_FscanfW(FILE *stream, const wchar_t *format, ...); int wxCRT_VsscanfW(const wchar_t *str, const wchar_t *format, va_list ap); +#else +#ifdef __VMS +#if (__DECCXX_VER >= 70100000) && !defined(__STD_CFRONT) && !defined( __NONAMESPACE_STD ) +# define wxCRT_ScanfW std::wscanf +# define wxCRT_SscanfW std::swscanf +# define wxCRT_FscanfW std::fwscanf +# define wxCRT_VsscanfW std::vswscanf +#else + #define wxCRT_ScanfW wscanf + #define wxCRT_SscanfW swscanf + #define wxCRT_FscanfW fwscanf + #define wxCRT_VsscanfW vswscanf +#endif #else #define wxCRT_ScanfW wscanf #define wxCRT_SscanfW swscanf #define wxCRT_FscanfW fwscanf #define wxCRT_VsscanfW vswscanf #endif +#endif // ---------------------------------------------------------------------------- // user-friendly wrappers to CRT functions