summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/search_path.h
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/pbd/pbd/search_path.h
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/pbd/pbd/search_path.h')
-rw-r--r--libs/pbd/pbd/search_path.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/pbd/pbd/search_path.h b/libs/pbd/pbd/search_path.h
index 5358d6e14c..cc53dbebac 100644
--- a/libs/pbd/pbd/search_path.h
+++ b/libs/pbd/pbd/search_path.h
@@ -20,6 +20,10 @@
#ifndef PBD_SEARCH_PATH_INCLUDED
#define PBD_SEARCH_PATH_INCLUDED
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
#include <string>
#include <vector>