aboutsummaryrefslogtreecommitdiff
path: root/src/fft.h
diff options
context:
space:
mode:
authorQ <andrea@nocte.co.uk>2014-03-27 09:48:26 +0000
committerQ <andrea@nocte.co.uk>2014-03-27 09:48:26 +0000
commitcc719183cbc1fb6d2aebeb3150780d5c0e3f86e5 (patch)
tree65dcab27479085b99305a7a8a41beeefee37deb7 /src/fft.h
parent0bb0f22ddec2de97f7938916c9cf278b99e6a9e7 (diff)
downloadLibXtract-cc719183cbc1fb6d2aebeb3150780d5c0e3f86e5.tar.gz
LibXtract-cc719183cbc1fb6d2aebeb3150780d5c0e3f86e5.tar.bz2
LibXtract-cc719183cbc1fb6d2aebeb3150780d5c0e3f86e5.zip
add VC2012 project to compile static and dynamic lib, also fix some C
issues
Diffstat (limited to 'src/fft.h')
-rw-r--r--src/fft.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/fft.h b/src/fft.h
index 22d6166..790ebe0 100644
--- a/src/fft.h
+++ b/src/fft.h
@@ -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"