Different struct sizeof between linux and windows
Vladimir Panteleev via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Jun 17 09:25:15 PDT 2016
On Friday, 17 June 2016 at 16:16:48 UTC, Kagamin wrote:
> On Friday, 17 June 2016 at 13:21:04 UTC, Vladimir Panteleev
> wrote:
>> Windows does not have the concept of "time_t". The C runtime
>> in use does.
>>
>> The D bindings don't copy that behavior.
>
> D defining C runtime type different from C runtime causes this
> error.
If I were to import the time() function from MSVCR*.dll, what
size its return value would be?
More information about the Digitalmars-d-learn
mailing list