aboutsummaryrefslogtreecommitdiffstats
path: root/code/libspeex/config.h
blob: e6657fc0fb57c50f09e79d3e25c1c48816d1928a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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
#  if defined(__sun)  /* Solaris needs this for alloca(). */
#    define HAVE_ALLOCA_H
#  endif
#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