summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg <JoergAtGithub@worldwartweb.com>2023-05-29 12:57:24 +0200
committerJoerg <JoergAtGithub@worldwartweb.com>2023-05-29 12:57:24 +0200
commit5c5fd654147a1aed4d606ff52cbbde1610f3e7d5 (patch)
treec58bec22636b3f7e9797c7d0ae54c081859a9dc6
parent76e9cc008254e67844566267ab7468aa1833279e (diff)
Fixed warning because of use of non-standard function strcasecmp
-rw-r--r--lib/mp3guessenc-0.27.4/decode.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/mp3guessenc-0.27.4/decode.c b/lib/mp3guessenc-0.27.4/decode.c
index ad60ac4ed1..3fff559443 100644
--- a/lib/mp3guessenc-0.27.4/decode.c
+++ b/lib/mp3guessenc-0.27.4/decode.c
@@ -20,6 +20,10 @@
#include <stdlib.h>
#include <string.h>
+#ifdef _MSC_VER
+#define strcasecmp _stricmp
+#endif
+
/*
* This takes the command line strings starting at optind and concatenate them in order
* to build a long string. Then this string will be compared with the actual key (codename).