vdcommon.h: consolidate defines under OLDMSVCRT

This commit is contained in:
Uri Lublin 2014-11-11 13:07:47 +02:00
parent c678c4f26b
commit cf747c07e6

View File

@ -62,13 +62,11 @@ typedef CRITICAL_SECTION mutex_t;
*/
#ifdef OLDMSVCRT
#define swprintf_s(buf, sz, format...) swprintf(buf, format)
#endif
#ifdef OLDMSVCRT
#ifndef _ftime_s
#define _ftime_s(timeb) _ftime(timeb)
#endif
#endif
#endif /* OLDMSVCRT */
enum SystemVersion {
SYS_VER_UNSUPPORTED,