sterling Tue Oct 15 10:51:01 2002 EDT
Modified files:
/php4/ext/standard math.c
Log:
hopefully silence compile warnings on Solaris related to HUGEVAL being
undefined.. HUGEVAL is defined (well the manual would indicate so) in
stdlib.h, not math.h.
Bug #: 19807
Index: php4/ext/standard/math.c
diff -u php4/ext/standard/math.c:1.89 php4/ext/standard/math.c:1.90
--- php4/ext/standard/math.c:1.89 Thu Oct 3 22:21:33 2002
+++ php4/ext/standard/math.c Tue Oct 15 10:51:01 2002
@@ -19,13 +19,14 @@
+----------------------------------------------------------------------+
*/
-/* $Id: math.c,v 1.89 2002/10/04 02:21:33 sas Exp $ */
+/* $Id: math.c,v 1.90 2002/10/15 14:51:01 sterling Exp $ */
#include "php.h"
#include "php_math.h"
#include <math.h>
#include <float.h>
+#include <stdlib.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
@@ -1078,6 +1079,6 @@
* tab-width: 4
* c-basic-offset: 4
* End:
- * vim600: sw=4 ts=4 fdm=marker
- * vim<600: sw=4 ts=4
+ * vim600: fdm=marker
+ * vim: noet sw=4 ts=4
*/
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php