vgmstream/src/streamtypes.h

32 lines
468 B
C
Raw Normal View History

/*
* streamtypes.h - widely used type definitions
*/
#ifndef _STREAMTYPES_H
#define _STREAMTYPES_H
#ifdef _MSC_VER
2017-01-02 15:43:10 +01:00
#if (_MSC_VER >= 1600)
#include <stdint.h>
#else
#include <pstdint.h>
2017-01-02 15:43:10 +01:00
#endif /* (_MSC_VER >= 1600) */
#define inline _inline
#define strcasecmp _stricmp
2017-01-02 15:43:10 +01:00
#define strncasecmp _strnicmp
2015-08-30 17:10:26 +02:00
#if (_MSC_VER < 1900)
#define snprintf _snprintf
2017-01-02 15:43:10 +01:00
#endif /* (_MSC_VER < 1900) */
#else
#include <stdint.h>
2017-01-02 15:43:10 +01:00
#endif /* _MSC_VER */
typedef int16_t sample;
#endif