cvs: php-src /ext/gd/libgd gd.c

From: Date: Tue, 26 May 2009 19:56:17 +0000
Subject: cvs: php-src /ext/gd/libgd gd.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-58264@lists.php.net to get a copy of this message
pajoye Tue May 26 19:56:17 2009 UTC Modified files: /php-src/ext/gd/libgd gd.c Log: - silent warnings http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd.c?r1=1.124&r2=1.125&diff_format=u Index: php-src/ext/gd/libgd/gd.c diff -u php-src/ext/gd/libgd/gd.c:1.124 php-src/ext/gd/libgd/gd.c:1.125 --- php-src/ext/gd/libgd/gd.c:1.124 Tue May 26 19:45:38 2009 +++ php-src/ext/gd/libgd/gd.c Tue May 26 19:56:17 2009 @@ -26,11 +26,15 @@ #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 */

« previous php.cvs (#58264) next »