cvs: php4 /ext/standard/ php_math.h

From: Date: Tue, 13 Jun 2000 16:35:40 +0000
Subject: cvs: php4 /ext/standard/ php_math.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-234@lists.php.net to get a copy of this message
sas Tue Jun 13 09:35:40 2000 EDT Modified files: /php4/ext/standard php_math.h Log: Include <math.h> in php_math.h. This is necessary, because we might otherwise redefine system macros. Index: php4/ext/standard/php_math.h diff -u php4/ext/standard/php_math.h:1.1 php4/ext/standard/php_math.h:1.2 --- php4/ext/standard/php_math.h:1.1 Tue Jun 13 09:31:57 2000 +++ php4/ext/standard/php_math.h Tue Jun 13 09:35:40 2000 @@ -29,7 +29,7 @@ */ -/* $Id: php_math.h,v 1.1 2000/06/13 16:31:57 sas Exp $ */ +/* $Id: php_math.h,v 1.2 2000/06/13 16:35:40 sas Exp $ */ #ifndef _PHPMATH_H #define _PHPMATH_H @@ -67,6 +67,7 @@ PHP_FUNCTION(deg2rad); PHP_FUNCTION(rad2deg); +#include <math.h> #ifndef M_E #define M_E 2.7182818284590452354 /* e */

« previous php.cvs (#234) next »