Use PLATFORM_WINDOWS (in preference to WIN32) for consistency with the other libraries
[ardour.git] / libs / ardour / midi_patch_manager.cc
index f3541a2e628d28e75a9c65346d581ce484645f72..4587b1aad9d483243f963ffa14b467eb04db553c 100644 (file)
 #include "ardour/session_directory.h"
 #include "ardour/midi_patch_manager.h"
 
-#ifdef SearchPath
-#undef SearchPath
-#endif
-
-#include "ardour/midi_patch_search_path.h"
+#include "ardour/search_paths.h"
 
 #include "i18n.h"
 
@@ -107,7 +103,7 @@ MidiPatchManager::refresh()
        _master_devices_by_model.clear();
        _all_models.clear();
 
-       SearchPath search_path = midi_patch_search_path ();
+       Searchpath search_path = midi_patch_search_path ();
        Glib::PatternSpec pattern (string("*.midnam"));
        vector<std::string> result;