On Wednesday 27 February 2008 15:56, Michael Schnell wrote: > 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.
As pointed out, this is possible without a preprocessor. Not in C, though. Vinzent. _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel