You can't even rely on that...
long --> 4 bytes in 32 bit builds everywhere I've used.
long --> 4 bytes in 64 bit builds on windows and OS/400, 8 bytes in almost all 64 bit builds on UNIXs that I've used (HPUX,Solaris,Linux,AIX).
long --> 4 bytes in 32 bit builds everywhere I've used.
long --> 4 bytes in 64 bit builds on windows and OS/400, 8 bytes in almost all 64 bit builds on UNIXs that I've used (HPUX,Solaris,Linux,AIX).