summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorUri Lublin <uril@redhat.com>2014-11-11 13:07:47 +0200
committerUri Lublin <uril@redhat.com>2014-12-30 17:17:24 +0200
commitcf747c07e625b5bbc3c1859d7fa278e45e97ef96 (patch)
tree3b98a66d99416d0fc58b8b3c034d60c458ee7dc2 /common
parentc678c4f26b6139b64689c6785ddf729134697f58 (diff)
vdcommon.h: consolidate defines under OLDMSVCRT
Diffstat (limited to 'common')
-rw-r--r--common/vdcommon.h4
1 files changed, 1 insertions, 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,