changeset 1224:ab050519c4ba piper

Fix capnp include scenario on Windows
author Chris Cannam
date Thu, 20 Oct 2016 18:31:02 +0100
parents c2207877689d
children ba16388b937d a2091d148d7f
files plugin/FeatureExtractionPluginFactory.cpp
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugin/FeatureExtractionPluginFactory.cpp	Thu Oct 20 14:06:58 2016 +0100
+++ b/plugin/FeatureExtractionPluginFactory.cpp	Thu Oct 20 18:31:02 2016 +0100
@@ -20,6 +20,11 @@
 
 #include "PluginScan.h"
 
+#ifdef _WIN32
+#undef VOID
+#undef ERROR
+#define CAPNP_LITE 1
+#endif
 #include "vamp-client/AutoPlugin.h"
 
 #include <QDir>