diff vampy-main.cpp @ 120:a38d318c85a9 tip

MSVC fixes
author Chris Cannam
date Wed, 18 Dec 2019 16:51:20 +0000
parents c85d26cb9dab
children
line wrap: on
line diff
--- a/vampy-main.cpp	Wed Aug 14 14:59:19 2019 +0100
+++ b/vampy-main.cpp	Wed Dec 18 16:51:20 2019 +0000
@@ -39,6 +39,13 @@
 
 #endif
 
+#ifdef _WIN32
+// We should be using the unicode apis, but we're not (yet)
+#undef UNICODE
+#undef _UNICODE
+#define _MBCS 1
+#endif
+
 #include "vamp/vamp.h"
 #include "vamp-sdk/PluginAdapter.h"
 #include "PyPlugScanner.h"