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

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Wed Mar 30 12:21:48 CEST 2016

On 2016-03-30 11:09, Bart wrote:
> So this code distincts between 64-bit Windows and 64-bit "any other OS"

Say for example I have two identical Intel i7 based systems. One with
64-bit FreeBSD installed, and one with 64-bit Win7. What you are saying
is that SwapEndian() will execute different code based on the two
systems. That doesn't sound right to me. Both systems have the same CPU
type, thus same Endianness.

  - Graeme -

More information about the fpc-pascal mailing list