]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxcrtvararg.h
compilation fixes for wxGTK1 after wxTextEntry changes (unit test still fails, Replac...
[wxWidgets.git] / include / wx / wxcrtvararg.h
index 272bbcf85e72da7a78e740da3e9091a567ccf4dc..9a9aa4cc5a0a2b8ac9847d36eabcf3fdace54697 100644 (file)
     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