summaryrefslogtreecommitdiff
path: root/libs/ardour/template_utils.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-11 14:27:24 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-11 14:27:24 -0400
commitb6afce39a40f5a6f06de665c242d96934b7e3f8e (patch)
tree12e6ad1540cdb9be6e7e52a24f9f988cf18c1395 /libs/ardour/template_utils.cc
parent4d71933f5ba09af4dfb79459798611994ca60b8f (diff)
Undef SearchPath where needed as it is defined via windows.h
This is pretty annoying, might even be worth renaming the class
Diffstat (limited to 'libs/ardour/template_utils.cc')
-rw-r--r--libs/ardour/template_utils.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/ardour/template_utils.cc b/libs/ardour/template_utils.cc
index 05007b0ade..c57f2400ac 100644
--- a/libs/ardour/template_utils.cc
+++ b/libs/ardour/template_utils.cc
@@ -32,6 +32,10 @@
#include "ardour/filename_extensions.h"
#include "ardour/io.h"
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
using namespace std;
using namespace PBD;