Had a look at the Programmer's Manual (April 2011, doc version 2.4) appendix G (compiler defines)
Saw ENDIAN_LITTLE ENDIAN_BIG Did not see FPC_LITTLE_ENDIAN FPC_BIG_ENDIAN Should that be added? Also, I'm sure there must be functions to convert endianness - at least network byte order (big endian) to host order. I found e.g. Synapse synsock: function ntohs(netshort: word): word; function ntohl(netlong: longword): longword; function htons(hostshort: word): word; function htonl(hostlong: longword): longword; Are there an equivalent RTL/FCL functions? Thanks, Reinier _______________________________________________ fpc-pascal maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-pascal
