Re: [PHP4BETA] sizeof(int) test - we're not quite there yet
| From: | Sascha Schumann | Date: | Mon, 05 Jul 1999 10:53:12 +0000 |
| Subject: | Re: [PHP4BETA] sizeof(int) test - we're not quite there yet | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1894@lists.php.net to get a copy of this message | ||
On Mon, Jul 05, 1999 at 11:23:13AM +0200, Sascha Schumann wrote:
> What is the size of pointers in that environment?
I've changed the test to use void * which should be 8 bytes long
on all real 64-bit targets. This should be even true for Solaris
according to
http://www.sph.emory.edu/is/computing/unix/sunreadmes/64bit.html
Hopefully, gcc does it that way, too.
--
Regards,
Sascha Schumann
Consultant