forked from len0rd/rockbox
pdbox: Always use fixedpoint version of math functions
Change-Id: Ie5671d8f425804c9cf3265bad86eadadaf73ea1c
This commit is contained in:
parent
ef4bf8a9f0
commit
71778bd21e
12 changed files with 14 additions and 12 deletions
|
@ -170,7 +170,7 @@ void pd_init(void);
|
|||
|
||||
//#ifndef SIMULATOR
|
||||
/*FIXME: is it a correct replacement??? */
|
||||
#if !(CONFIG_PLATFORM & PLATFORM_HOSTED)
|
||||
/* #if !(CONFIG_PLATFORM & PLATFORM_HOSTED) */
|
||||
#define floor rb_floor
|
||||
#define atof rb_atof
|
||||
#define atol rb_atol
|
||||
|
@ -186,9 +186,11 @@ void pd_init(void);
|
|||
#define atan2 rb_atan2
|
||||
#define sinh rb_sinh
|
||||
#define tan rb_tan
|
||||
/*
|
||||
#else
|
||||
#include <math.h>
|
||||
#endif
|
||||
*/
|
||||
|
||||
#define ftoan rb_ftoan
|
||||
#undef strtok_r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue