[Bf-committers] AMD64 bit support issues

Nathan Letwory jesterking at letwory.net
Sat Nov 12 09:39:06 CET 2005


>  > It wouldn't be hard to typedef things in winstuff.h to make it
>  > following that standard too.
>
> Can you give an example?  I can't see how to do this without either
> (a) changing all the casts from int or long to void *
> (b) creating a new datatype which is the same size as a long, consistent
> on each platform
> (c) typedef-ing long to be long long for windows, which AFAIK is not
> possible.
>
> I personally don't mind just changing everything to use a long, since it
> will work for me, but it doesn't help 64-bit Windows developers.  On the
> other hand maybe I'm just really dense; is this is non-issue on Win64?
> Is a long really 64-bits there?
>
> Ken

As stated before on the list, you could use __int64 for that on Windows.

/Nathan



More information about the Bf-committers mailing list