diff options
author | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-02-11 09:21:43 +0000 |
---|---|---|
committer | ludwig <ludwig@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2009-02-11 09:21:43 +0000 |
commit | e7eec4ee5d11f847d17e6f8c7c7b54fdb83c7434 (patch) | |
tree | a8bcf66e96eac13af741a4ab60edcd9a5af66d09 /code/libspeex/config.h | |
parent | 45681b240ba51af33762b025727b6ef5cba19d68 (diff) | |
download | ioquake3-aero-e7eec4ee5d11f847d17e6f8c7c7b54fdb83c7434.tar.gz ioquake3-aero-e7eec4ee5d11f847d17e6f8c7c7b54fdb83c7434.zip |
move speex config.h to correct place
git-svn-id: svn://svn.icculus.org/quake3/trunk@1498 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/libspeex/config.h')
-rw-r--r-- | code/libspeex/config.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/code/libspeex/config.h b/code/libspeex/config.h new file mode 100644 index 0000000..abd35f0 --- /dev/null +++ b/code/libspeex/config.h @@ -0,0 +1,20 @@ +// Microsoft version of 'inline' +#define inline __inline + +// Visual Studio support alloca(), but it always align variables to 16-bit +// boundary, while SSE need 128-bit alignment. So we disable alloca() when +// SSE is enabled. +#ifndef _USE_SSE +# define USE_ALLOCA +#endif + +/* Default to floating point */ +#ifndef FIXED_POINT +# define FLOATING_POINT +# define USE_SMALLFT +#else +# define USE_KISS_FFT +#endif + +/* We don't support visibility on Win32 */ +#define EXPORT |