diff host/system.h @ 40:ae3e47e76d2d

* Add plugin path traversal and plugin listing option to vamp-simple-host * Add more notes on plugin lookup and categorisation
author cannam
date Mon, 09 Oct 2006 12:45:14 +0000
parents 83d3eb580731
children
line wrap: on
line diff
--- a/host/system.h	Thu Sep 21 16:41:10 2006 +0000
+++ b/host/system.h	Mon Oct 09 12:45:14 2006 +0000
@@ -46,7 +46,7 @@
 #define DLCLOSE(a)   FreeLibrary((HINSTANCE)(a))
 #define DLERROR()    ""
 
-#define PLUGIN_GLOB  "*.dll"
+#define PLUGIN_SUFFIX "dll"
 
 #else
 
@@ -59,11 +59,13 @@
 
 #ifdef __APPLE__
 
-#define PLUGIN_GLOB  "*.dylib"
+#define PLUGIN_SUFFIX  "dylib"
+#define HAVE_OPENDIR 1
 
 #else 
 
-#define PLUGIN_GLOB  "*.so"
+#define PLUGIN_SUFFIX  "so"
+#define HAVE_OPENDIR 1
 
 #endif /* __APPLE__ */