mirror of
https://github.com/Q3Rally-Team/q3rally.git
synced 2024-11-29 23:22:55 +00:00
24 lines
563 B
C
24 lines
563 B
C
|
// 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
|