On 2001-12-16 19:02 +0100, Hrvoje Niksic wrote:
Andre Majorel [EMAIL PROTECTED] writes:
On 2001-12-15 07:37 +0100, Hrvoje Niksic wrote:
Is there a good fallback value of RAND_MAX for systems that don't
bother to define it?
The standard (SUS2) says :
The value of the
Andre Majorel [EMAIL PROTECTED] writes:
5th edition, 6th edition, 7th edition and System III all returned
0-32767. As RAND_MAX didn't exist at the time, plenty of code must
have been written that assumed 0-32767. For that reason I think it
unlikely that anybody ever wrote an implementation
On 2001-12-15 07:37 +0100, Hrvoje Niksic wrote:
Is there a good fallback value of RAND_MAX for systems that don't
bother to define it?
The standard (SUS2) says :
The value of the {RAND_MAX} macro will be at least 32767.
--
André Majorel
Work: [EMAIL PROTECTED]
Home: [EMAIL PROTECTED]
Vin Shelton [EMAIL PROTECTED] writes:
I have successfully built wget-1.8 under linux-2.4.xx (at home) and
under SunOS-5.5, but under SunOS-4.1.4, I get a compile-time error:
../../../../src/wget-1.8/src/retr.c:682: `RAND_MAX' undeclared (first use in this fun
ction)
[...]
Please let me