aboutsummaryrefslogtreecommitdiffstats
path: root/code/libspeex
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-03 04:40:40 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2008-06-03 04:40:40 +0000
commit700ed4bec0fd9a69506ab0d8780dc0584bac87bd (patch)
tree98a93e8444c26c73a179b5d39ff88efd1686aac8 /code/libspeex
parenta4f6e2f577d878e4d7b6e27f9e86af3d462f8f77 (diff)
downloadioquake3-aero-700ed4bec0fd9a69506ab0d8780dc0584bac87bd.tar.gz
ioquake3-aero-700ed4bec0fd9a69506ab0d8780dc0584bac87bd.zip
Patched to compile on non Mac platforms.
git-svn-id: svn://svn.icculus.org/quake3/trunk@1362 edf5b092-35ff-0310-97b2-ce42778d08ea
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