summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/pdbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/pdbox.h')
-rw-r--r--apps/plugins/pdbox/pdbox.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/pdbox/pdbox.h b/apps/plugins/pdbox/pdbox.h
index ddc6ed2cf4..7f7c4754e0 100644
--- a/apps/plugins/pdbox/pdbox.h
+++ b/apps/plugins/pdbox/pdbox.h
@@ -170,7 +170,7 @@ void pd_init(void);
170 170
171//#ifndef SIMULATOR 171//#ifndef SIMULATOR
172/*FIXME: is it a correct replacement??? */ 172/*FIXME: is it a correct replacement??? */
173#if !(CONFIG_PLATFORM & PLATFORM_HOSTED) 173/* #if !(CONFIG_PLATFORM & PLATFORM_HOSTED) */
174#define floor rb_floor 174#define floor rb_floor
175#define atof rb_atof 175#define atof rb_atof
176#define atol rb_atol 176#define atol rb_atol
@@ -186,9 +186,11 @@ void pd_init(void);
186#define atan2 rb_atan2 186#define atan2 rb_atan2
187#define sinh rb_sinh 187#define sinh rb_sinh
188#define tan rb_tan 188#define tan rb_tan
189/*
189#else 190#else
190#include <math.h> 191#include <math.h>
191#endif 192#endif
193*/
192 194
193#define ftoan rb_ftoan 195#define ftoan rb_ftoan
194#undef strtok_r 196#undef strtok_r