This is pretty annoying, might even be worth renaming the class
#include "ardour/types.h"
#include "ardour/export_handler.h"
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
namespace ARDOUR
{
#include "pbd/search_path.h"
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
namespace ARDOUR {
/**
#include "ardour/debug.h"
#include "ardour/panner_manager.h"
+
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
#include "ardour/panner_search_path.h"
#include "i18n.h"
#include "ardour/filename_extensions.h"
#include "ardour/io.h"
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
using namespace std;
using namespace PBD;
#ifndef PBD_SEARCH_PATH_INCLUDED
#define PBD_SEARCH_PATH_INCLUDED
+#ifdef SearchPath
+#undef SearchPath
+#endif
+
#include <string>
#include <vector>