mirror of
https://github.com/vgmstream/vgmstream.git
synced 2025-01-17 23:36:41 +01:00
Define strncasecmp for MSC
This commit is contained in:
parent
a77d4d21ce
commit
6fa660c1a3
@ -7,19 +7,24 @@
|
||||
#define _STREAMTYPES_H
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
||||
#if (_MSC_VER >= 1600)
|
||||
#include <stdint.h>
|
||||
#else
|
||||
#include <pstdint.h>
|
||||
#endif
|
||||
#endif /* (_MSC_VER >= 1600) */
|
||||
|
||||
#define inline _inline
|
||||
#define strcasecmp _stricmp
|
||||
#define strncasecmp _strnicmp
|
||||
|
||||
#if (_MSC_VER < 1900)
|
||||
#define snprintf _snprintf
|
||||
#endif
|
||||
#endif /* (_MSC_VER < 1900) */
|
||||
|
||||
#else
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#endif /* _MSC_VER */
|
||||
|
||||
typedef int16_t sample;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user