Bug #694: M_PI not defined
| From: | jim at jaguNET dot com | Date: | Tue, 25 Aug 1998 22:30:17 +0000 |
| Subject: | Bug #694: M_PI not defined | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-580@lists.php.net to get a copy of this message | ||
From: jim@jaguNET.com
Operating system: A/UX and POSIX OSs
PHP version: 3.0 Latest CVS
PHP Bug Type: Compile Failure
Bug description:
For many OSs which are POSIX (or are compiling PHP3
as POSIX), M_PI is not defined in math.h. In other
sources files that use M_PI, the #ifndef M_PI/#define M_PI
wrapper is used, but not in functions/basic_functions.c,
so the compile will fail. Either the "wrapper" could
be added there or maybe added in a php .h file to
handle "all" cases.
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net