summaryrefslogtreecommitdiff
path: root/common/vdcommon.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/vdcommon.h')
-rw-r--r--common/vdcommon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/vdcommon.h b/common/vdcommon.h
index c5268f4..394333b 100644
--- a/common/vdcommon.h
+++ b/common/vdcommon.h
@@ -53,6 +53,10 @@ enum {
#define ALIGN_VC __declspec (align(1))
#endif
+#ifdef OLDMSVCRT
+#define swprintf_s(buf, sz, format...) swprintf(buf, format)
+#endif
+
typedef struct ALIGN_VC VDPipeMessage {
uint32_t type;
uint32_t opaque;