Different struct sizeof between linux and windows

Vladimir Panteleev via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jun 17 00:11:28 PDT 2016


On Friday, 17 June 2016 at 06:54:36 UTC, Andre Pany wrote:
> Is this behavior correct?

Yes. time_t is defined as C long on Linux (meaning it'll be 
64-bit in 64-bit programs), however it's always 32-bit on the 
Windows C runtimes we use.



More information about the Digitalmars-d-learn mailing list