From: Pierre Joye Date: Tue, 26 May 2009 19:56:17 +0000 (+0000) Subject: - silent warnings X-Git-Tag: php-5.4.0alpha1~191^2~3510 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66c3885647d54c17b316dc06b0d19b0aa682de45;p=php - silent warnings --- diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index 78bf10fe00..0a361d190a 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -26,11 +26,15 @@ extern float floorf(float x); #endif #if HAVE_FABSF == 0 /* float fabsf(float x); */ -# define fabsf(x) ((float)(fabs(x))) +# ifndef fabsf +# define fabsf(x) ((float)(fabs(x))) +# endif #endif #if HAVE_FLOORF == 0 +# ifndef floorf /* float floorf(float x);*/ -#define floorf(x) ((float)(floor(x))) +# define floorf(x) ((float)(floor(x))) +# endif #endif #ifdef _OSD_POSIX /* BS2000 uses the EBCDIC char set instead of ASCII */