Re: [PHP4BETA] sizeof(int) test - we're not quite there yet
| From: | Sascha Schumann | Date: | Mon, 05 Jul 1999 09:23:13 +0000 |
| Subject: | Re: [PHP4BETA] sizeof(int) test - we're not quite there yet | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1891@lists.php.net to get a copy of this message | ||
> I wrote a tiny program to make sure that the sizes of int&long are really 4
> bytes - and they are. Looks like gcc doesn't take advantage of the
> increased word size in Solaris..?
I don't remember a bullet proof test for 64-bit platforms. The
one I added works on Tru64 and Linux.
What is the size of pointers in that environment?
--
Regards,
Sascha Schumann
Consultant