summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/pdbox.h
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-10-07 15:04:24 +0200
committerMarcin Bukat <marcin.bukat@gmail.com>2012-10-07 15:04:24 +0200
commit71778bd21ee57d105a58fa93d7a295c5dc0e3b5c (patch)
tree2b9ff51b2b01cda85447da92d694cdd4afd4a38e /apps/plugins/pdbox/pdbox.h
parentef4bf8a9f0a0f7ea1b9a0d481e391deda7e60f20 (diff)
downloadrockbox-71778bd21ee57d105a58fa93d7a295c5dc0e3b5c.tar.gz
rockbox-71778bd21ee57d105a58fa93d7a295c5dc0e3b5c.zip
pdbox: Always use fixedpoint version of math functions
Change-Id: Ie5671d8f425804c9cf3265bad86eadadaf73ea1c
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