Re: cvs: php4 /ext/standard math.c
| From: | Jon Parise | Date: | Sun, 27 Jan 2002 18:55:10 +0000 |
| Subject: | Re: cvs: php4 /ext/standard math.c | ||
| References: | 1 2 3 4 5 6 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-9205@lists.php.net to get a copy of this message | ||
On Sun, Jan 27, 2002 at 01:53:44PM -0500, Jon Parise wrote:
> > If you send me the patches Ill commit them if you want or you can try and
> > get Karma from someone who can give it to you.
>
> Have a look at the attached patch.
Actually, I think this patch looks better:
--
Jon Parise (jon@csh.rit.edu) . Information Technology (2001)
http://www.csh.rit.edu/~jon/ : Computer Science House
Member
Index: zend_config.w32.h =================================================================== RCS file: /repository/Zend/zend_config.w32.h,v retrieving revision 1.24 diff -u -r1.24 zend_config.w32.h --- zend_config.w32.h 2002/01/06 15:21:09 1.24 +++ zend_config.w32.h 2002/01/27 18:54:39 @@ -47,9 +47,11 @@ #define HAVE_VSNPRINTF 1 #define vsnprintf _vsnprintf -#define zend_isinf(a) 0 - #define zend_sprintf sprintf + +#define zend_isinf(a) 0 +#define zend_finite(x) _finite(x) +#define zend_isnan(x) _isnan(x) /* This will cause the compilation process to be MUCH longer, but will generate * a much quicker PHP binary
Index: zend_config.w32.h =================================================================== RCS file: /repository/Zend/zend_config.w32.h,v retrieving revision 1.24 diff -u -r1.24 zend_config.w32.h --- zend_config.w32.h 2002/01/06 15:21:09 1.24 +++ zend_config.w32.h 2002/01/27 18:54:39 @@ -47,9 +47,11 @@ #define HAVE_VSNPRINTF 1 #define vsnprintf _vsnprintf -#define zend_isinf(a) 0 - #define zend_sprintf sprintf + +#define zend_isinf(a) 0 +#define zend_finite(x) _finite(x) +#define zend_isnan(x) _isnan(x) /* This will cause the compilation process to be MUCH longer, but will generate * a much quicker PHP binary