aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatja <katjav@users.sourceforge.net>2011-11-13 13:38:09 +0000
committerKatja <katjav@users.sourceforge.net>2011-11-13 13:38:09 +0000
commit3129cef9f1b75aeb36ff7ab20c027f949030c966 (patch)
tree2490da9995dc4ecd55386b5c125221517c1e8b8c
parent7d41c2213b5070d444fa17cdb04eeb9fdc955309 (diff)
insert '#ifndef PD_FLOAT_PRECISION...' in smlib
svn path=/trunk/externals/smlib/; revision=15733
-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