[vdagent-win PATCH V3 06/11] vdcommon.h: consolidate defines under OLDMSVCRT

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 common/vdcommon.h |    4 +---
 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,
-- 
1.7.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]