mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Compat: Fix for MSVC deprecated functions
According to MSDN, stricmp and strnicmp functions are deprecated since MSVC 2005 and _stricmp/_strnicmp should be used instead. Patch-from: lvqcl <lvqcl.mail@gmail.com>
This commit is contained in:
@@ -87,7 +87,10 @@
|
||||
|
||||
#define FLAC__U64L(x) x##ULL
|
||||
|
||||
#if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__
|
||||
#if defined _MSC_VER || defined __MINGW32__
|
||||
#define FLAC__STRCASECMP _stricmp
|
||||
#define FLAC__STRNCASECMP _strnicmp
|
||||
#elif defined __BORLANDC__
|
||||
#define FLAC__STRCASECMP stricmp
|
||||
#define FLAC__STRNCASECMP strnicmp
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user