[fpc-pascal] IFDEF usage in x86_64's SwapEndian() implementation

Bart bartjunk64 at gmail.com
Wed Mar 30 12:09:11 CEST 2016

On 3/30/16, Graeme Geldenhuys <mailinglists at geldenhuys.co.uk> wrote:

> Surely the usage of IFDEF WIN64 is not 100% correct or accurate. Should
> the above not rather read IFDEF CPU64?

Me thinks:
It's in ($pfcsource)rtl\x86_64\x86_64.inc, so CPU64 will be defined in
that procedure always.
So this code distincts between 64-bit Windows and 64-bit "any other OS"


More information about the fpc-pascal mailing list