Undef SearchPath where needed as it is defined via windows.h
authorPaul Davis <paul@linuxaudiosystems.com>
Thu, 11 Jul 2013 18:27:24 +0000 (14:27 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Thu, 11 Jul 2013 18:27:24 +0000 (14:27 -0400)
This is pretty annoying, might even be worth renaming the class

libs/ardour/ardour/export_profile_manager.h
libs/ardour/ardour/filesystem_paths.h
libs/ardour/panner_manager.cc
libs/ardour/template_utils.cc
libs/pbd/pbd/search_path.h

index 424e0fe163c7b0f552b5bd3aee520f5ecbfa6f12..114fb09647050b9b6f3353b6a4b805034133009b 100644 (file)
 #include "ardour/types.h"
 #include "ardour/export_handler.h"
 
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
 namespace ARDOUR
 {
 
index cfeb633597cb2fac5c34c22d704e9d791cb3728c..7c817e86a1255adab48e8aecbec32d135c53acdd 100644 (file)
 
 #include "pbd/search_path.h"
 
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
 namespace ARDOUR {
 
        /**
index e77104dd33eff6f32eeb0561b7e827ff455c3c28..06fc42aab92eee6a8d91110b77ac2b2d5a00092e 100644 (file)
 
 #include "ardour/debug.h"
 #include "ardour/panner_manager.h"
+
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
 #include "ardour/panner_search_path.h"
 
 #include "i18n.h"
index 05007b0ade901f391425f4974079d7f1212e7e05..c57f2400ac561c8205d27e74a2191092264d39dd 100644 (file)
 #include "ardour/filename_extensions.h"
 #include "ardour/io.h"
 
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
 using namespace std;
 using namespace PBD;
 
index 5358d6e14c6a409313eb35990dc5feeaf7991b2a..cc53dbebac606a4e06c3e5b2eedc5ffd498b3a9c 100644 (file)
 #ifndef PBD_SEARCH_PATH_INCLUDED
 #define PBD_SEARCH_PATH_INCLUDED
 
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
 #include <string>
 #include <vector>