Mercurial > hg > libxtract
diff src/fft.h @ 211:ef80f7c52c6d
add VC2012 project to compile static and dynamic lib, also fix some C
issues
author | Q <andrea@nocte.co.uk> |
---|---|
date | Thu, 27 Mar 2014 09:48:26 +0000 |
parents | 826eb46b2f91 |
children | 2d749a837036 |
line wrap: on
line diff
--- a/src/fft.h Mon Mar 17 16:39:30 2014 +0000 +++ b/src/fft.h Thu Mar 27 09:48:26 2014 +0000 @@ -28,7 +28,16 @@ #include <config.h> #endif -#include <stdbool.h> +#ifdef _MSC_VER + #define USE_OOURA + #ifndef __cplusplus + typedef int bool; + #define false 0 + #define true 1 + #endif +#else + #include <stdbool.h> +#endif #ifdef USE_OOURA #include "ooura/fftsg.h"