From cf747c07e625b5bbc3c1859d7fa278e45e97ef96 Mon Sep 17 00:00:00 2001 From: Uri Lublin Date: Tue, 11 Nov 2014 13:07:47 +0200 Subject: vdcommon.h: consolidate defines under OLDMSVCRT --- common/vdcommon.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/vdcommon.h b/common/vdcommon.h index 6ab18c6..74496f1 100644 --- a/common/vdcommon.h +++ b/common/vdcommon.h @@ -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, -- cgit v1.2.3