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:
parent
d2f25ec7a5
commit
8bd2c11fc4
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user