aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--defines.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/defines.h b/defines.h
index b92efa6..ec2d81f 100644
--- a/defines.h
+++ b/defines.h
@@ -5,6 +5,10 @@
#endif
#define LOGTEN 2.302585092994
+#ifndef PD_FLOAT_PRECISION
+#define PD_FLOAT_PRECISION 32
+#endif
+
#if PD_FLOAT_PRECISION == 64
#define sinf sin
#define cosf cos