Moved the declaration of roundf() to HaikuBuildCompatibility.h - it's missing from

math.h but exported by libroot.so.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14903 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-11-13 19:43:42 +00:00
parent d2f25ec7a5
commit 8bd2c11fc4
4 changed files with 3 additions and 18 deletions
+1 -9
View File
@@ -49,22 +49,14 @@
#include <math.h>
#include <stdio.h>
// TODO: I have no idea why this is, but the libbe_test target needs this
#ifdef HAIKU_TARGET_PLATFORM_LIBBE_TEST
extern "C" float roundf(float x);
#endif
//#define DEBUG_BVIEW
#ifdef DEBUG_BVIEW
# include <stdio.h>
# define STRACE(x) printf x
#else
# define STRACE(x) ;
#endif
#ifdef DEBUG_BVIEW
# define BVTRACE PrintToStream()
#else
# define STRACE(x) ;
# define BVTRACE ;
#endif