diff plugin/FeatureExtractionPluginFactory.cpp @ 1224:ab050519c4ba piper

Fix capnp include scenario on Windows
author Chris Cannam
date Thu, 20 Oct 2016 18:31:02 +0100
parents c2207877689d
children 9ae2ce9190e6
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>