Andrei Pelinescu-Onciul wrote: > andrei 2008/06/13 22:09:55 CEST > > SER CVS Repository > > Added files: > . endianness.c endianness.h > test endian_test.c > Log: > - an attempt at portable endianness macros: __IS_LITTLE_ENDIAN, > __IS_BIG_ENDIAN and runtime check/sanity functions
I seem to remember that you are not allowed to define macros starting with double underscores. At least in C++ they are reserved keywords. Haven't had a look at the C standard, though. In any case, Posix' conversion function like ntohl are not enough? Regards, Martin _______________________________________________ Serdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/serdev
