mirror of
https://github.com/vgmstream/vgmstream.git
synced 2024-11-25 15:20:21 +01:00
32 lines
468 B
C
32 lines
468 B
C
/*
|
|
* streamtypes.h - widely used type definitions
|
|
*/
|
|
|
|
|
|
#ifndef _STREAMTYPES_H
|
|
#define _STREAMTYPES_H
|
|
|
|
#ifdef _MSC_VER
|
|
|
|
#if (_MSC_VER >= 1600)
|
|
#include <stdint.h>
|
|
#else
|
|
#include <pstdint.h>
|
|
#endif /* (_MSC_VER >= 1600) */
|
|
|
|
#define inline _inline
|
|
#define strcasecmp _stricmp
|
|
#define strncasecmp _strnicmp
|
|
|
|
#if (_MSC_VER < 1900)
|
|
#define snprintf _snprintf
|
|
#endif /* (_MSC_VER < 1900) */
|
|
|
|
#else
|
|
#include <stdint.h>
|
|
#endif /* _MSC_VER */
|
|
|
|
typedef int16_t sample;
|
|
|
|
#endif
|