aboutsummaryrefslogtreecommitdiffstats
path: root/code/libspeex
diff options
context:
space:
mode:
Diffstat (limited to 'code/libspeex')
-rw-r--r--code/libspeex/include/speex/speex_config_types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/libspeex/include/speex/speex_config_types.h b/code/libspeex/include/speex/speex_config_types.h
index f386a16..bfad776 100644
--- a/code/libspeex/include/speex/speex_config_types.h
+++ b/code/libspeex/include/speex/speex_config_types.h
@@ -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