diff options
Diffstat (limited to 'third_party/speex/win32/config.h')
-rw-r--r-- | third_party/speex/win32/config.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/third_party/speex/win32/config.h b/third_party/speex/win32/config.h new file mode 100644 index 00000000..5423b24a --- /dev/null +++ b/third_party/speex/win32/config.h @@ -0,0 +1,19 @@ +// 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 USE_SMALLFT +#else +# define USE_KISS_FFT +#endif + +/* We don't support visibility on Win32 */ +#define EXPORT |