summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libgha.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/libgha.h b/include/libgha.h
index f3221f8..5ff09c8 100644
--- a/include/libgha.h
+++ b/include/libgha.h
@@ -6,7 +6,12 @@ extern "C"
{
#endif /* __cplusplus */
-#define FLOAT float
+#ifdef GHA_USE_DOUBLE_API
+# define kiss_fft_scalar double
+# define FLOAT double
+#else
+# define FLOAT float
+#endif
#include <stddef.h>