fix msvc build (#3857, #3771)

This commit is contained in:
Ludwig Nussel committed 2009-02-10 07:56:56 +00:00
1 parent f2198c70e7
commit 53d23a3df2
2 files changed
+239 -58

No files matched your search

+20
View File
@@ -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