aboutsummaryrefslogtreecommitdiff
path: root/src/fft.h
diff options
context:
space:
mode:
authorJamie Bullock <jamie@jamiebullock.com>2014-03-27 14:56:36 +0000
committerJamie Bullock <jamie@jamiebullock.com>2014-03-27 14:56:36 +0000
commitf5423497d2d4718fc3385003329a135ee8078615 (patch)
tree0669b31b8ca90444b4e92c7c239568d2729c11c9 /src/fft.h
parent0bb0f22ddec2de97f7938916c9cf278b99e6a9e7 (diff)
parent8e718bfda48218dc4f007cad578d308227f2bb41 (diff)
downloadLibXtract-f5423497d2d4718fc3385003329a135ee8078615.tar.gz
LibXtract-f5423497d2d4718fc3385003329a135ee8078615.tar.bz2
LibXtract-f5423497d2d4718fc3385003329a135ee8078615.zip
Merge pull request #58 from q-depot/master
add VC2012 project to compile static and dynamic lib, also fix some C
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"