summaryrefslogtreecommitdiff
path: root/libs/ardour/vst_info_file.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-04-27 00:40:07 +0200
committerRobin Gareus <robin@gareus.org>2015-04-27 00:40:07 +0200
commit3f2306c4fbecf4ca321a6f32ce7cef8f8b2fc61c (patch)
tree46bc2fd570f3868c910974188ee182f6be32fce3 /libs/ardour/vst_info_file.cc
parentc2f84af73d4812a7099ba1339ae92f2cd0536eae (diff)
Revert "case insensitive ".dll" for VST plugins - fixes #6285"
This reverts commit c2f84af73d4812a7099ba1339ae92f2cd0536eae. strcasestr() is not compatible with mingw nor MSVC. different approach is needed.
Diffstat (limited to 'libs/ardour/vst_info_file.cc')
-rw-r--r--libs/ardour/vst_info_file.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/vst_info_file.cc b/libs/ardour/vst_info_file.cc
index 2b79f2bc77..2d68421103 100644
--- a/libs/ardour/vst_info_file.cc
+++ b/libs/ardour/vst_info_file.cc
@@ -351,7 +351,7 @@ vstfx_write_info_file (FILE* fp, vector<VSTInfo *> *infos)
static bool
vstfx_blacklist_stat (const char *dllpath, int personal)
{
- if (strstr (dllpath, ".so" ) == 0 && strcasestr(dllpath, ".dll") == 0) {
+ if (strstr (dllpath, ".so" ) == 0 && strstr(dllpath, ".dll") == 0) {
return true;
}
string const path = vstfx_blacklist_path (dllpath, personal);
@@ -435,7 +435,7 @@ vstfx_remove_infofile (const char *dllpath)
static char *
vstfx_infofile_stat (const char *dllpath, struct stat* statbuf, int personal)
{
- if (strstr (dllpath, ".so" ) == 0 && strcasestr(dllpath, ".dll") == 0) {
+ if (strstr (dllpath, ".so" ) == 0 && strstr(dllpath, ".dll") == 0) {
return 0;
}
@@ -494,7 +494,7 @@ vstfx_infofile_for_read (const char* dllpath)
static FILE *
vstfx_infofile_create (const char* dllpath, int personal)
{
- if (strstr (dllpath, ".so" ) == 0 && strcasestr(dllpath, ".dll") == 0) {
+ if (strstr (dllpath, ".so" ) == 0 && strstr(dllpath, ".dll") == 0) {
return 0;
}