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

View File

@ -36,6 +36,8 @@ extern size_t strlcpy(char *dest, const char *source, size_t length);
extern char *strcasestr(const char *string, const char *searchString);
extern float roundf(float value);
#ifdef __cplusplus
} // extern "C"
#endif

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

View File

@ -42,10 +42,6 @@
#include <stdio.h>
#include <math.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_WIN
#ifdef DEBUG_WIN

View File

@ -39,11 +39,6 @@
#include "Painter.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
#if ALIASED_DRAWING
// in this case, we _cannot_ use the outline rasterizer.
# define USE_OUTLINE_RASTERIZER 0