Re: CVS update: php3/functions
| From: | Tom May | Date: | Mon, 21 Dec 1998 21:15:41 +0000 |
| Subject: | Re: CVS update: php3/functions | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-2977@lists.php.net to get a copy of this message | ||
kk <php-dev@lists.php.net> writes:
> + #ifndef RAND_MAX
> + #define RAND_MAX 2^^15
> +
> + #endif
I think you want "#define RAND_MAX (1 << 15)". There is no
exponentiation operator in C.
Tom.
--
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