In the Linux source code preprocessor macros are used if data structures are accessed that require a certain endianess (usually "net"- data that are defined high byte first by TCP/IP).

Here clever tweaking provides that no additional code is created if the byte order already is correct with the processor the code is compiled for.

-Michael
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to