From 32d7799c7ceb7b47352604f48f5b0840084940d1 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 3 Jun 2008 04:40:40 +0000 Subject: [PATCH] Patched to compile on non Mac platforms. --- code/libspeex/include/speex/speex_config_types.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/code/libspeex/include/speex/speex_config_types.h b/code/libspeex/include/speex/speex_config_types.h index f386a163..bfad7767 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 +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