mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-09-01 02:44:26 -04:00
Allow user override of KISS_FFT_MALLOC and/or KISS_FFT_FREE on non-SIMD platforms
This commit is contained in:
@ -37,9 +37,14 @@ extern "C" {
|
|||||||
# define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16)
|
# define KISS_FFT_MALLOC(nbytes) _mm_malloc(nbytes,16)
|
||||||
# define KISS_FFT_FREE _mm_free
|
# define KISS_FFT_FREE _mm_free
|
||||||
#else
|
#else
|
||||||
|
/* user may override KISS_FFT_MALLOC and/or KISS_FFT_FREE */
|
||||||
|
# ifndef KISS_FFT_MALLOC
|
||||||
# define KISS_FFT_MALLOC malloc
|
# define KISS_FFT_MALLOC malloc
|
||||||
|
# endif
|
||||||
|
# ifndef KISS_FFT_FREE
|
||||||
# define KISS_FFT_FREE free
|
# define KISS_FFT_FREE free
|
||||||
# endif
|
# endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#ifdef FIXED_POINT
|
#ifdef FIXED_POINT
|
||||||
|
Reference in New Issue
Block a user