C help on 64/32 bit integers.
Ben Duncan
bns
Thu Feb 16 12:12:09 PST 2006
Ok, my MVISAM databse is starting to take shape. I do need, however,
to determine weather or not it is compiled on a 64 or a 32 bit cpu platform.
I have some RECORD headers that the "int" values need to stay at 32 bits
for determining record size (not the off_t for record access). Hey, if
you have ONE record that's greater than 2GB, don't call me !! ;-> ..
Anyway, I have segregated "FILE ACCESS" pointers and "record location"
(where inside of the current record I am) pointers. The Record Location
pointers need to stay 32 bits regardless of the platform.
Any help on this ?
Thanks ..
--
Ben Duncan - VersAccounting Software LLC 336 Elton Road Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
- Hanlon's Razor
More information about the Linux-users
mailing list