]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxcrtvararg.h
Make SaveFile and LoadFile virtual so they can be overridden
[wxWidgets.git] / include / wx / wxcrtvararg.h
index 9a9aa4cc5a0a2b8ac9847d36eabcf3fdace54697..2e7cf5a505d305bffba35bf415f3f1305f5796ca 100644 (file)
     int wxCRT_FscanfW(FILE *stream, const wchar_t *format, ...);
     int wxCRT_VsscanfW(const wchar_t *str, const wchar_t *format, va_list ap);
 #else
     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
+    #define wxCRT_ScanfW     wxVMS_USE_STD wscanf
+    #define wxCRT_SscanfW    wxVMS_USE_STD swscanf
+    #define wxCRT_FscanfW    wxVMS_USE_STD fwscanf
+    #define wxCRT_VsscanfW   wxVMS_USE_STD vswscanf
 #endif
 
 // ----------------------------------------------------------------------------
 #endif
 
 // ----------------------------------------------------------------------------