Patched to compile on non Mac platforms.

This commit is contained in:
Ryan C. Gordon 2008-06-03 04:40:40 +00:00
parent 8ab3f7af8d
commit 32d7799c7c

View file

@ -2,10 +2,14 @@
#define __SPEEX_TYPES_H__
#ifdef _MSC_VER
typedef __int16 spx_int16_t;
typedef __int32 spx_int32_t;
typedef unsigned __int16 spx_uint16_t;
typedef unsigned __int32 spx_uint32_t;
#else
#include <stdint.h>
typedef int16_t spx_int16_t;
typedef int32_t spx_int32_t;
typedef uint16_t spx_uint16_t;
typedef uint32_t spx_uint32_t;
#endif