Gareth Bransby G.C.Bransby-99@student.lboro.ac.uk wrote:
...
This doesn't mention BIG_ENDIAN LITTLE_ENDIAN or anything either. Is there anwhere else it could be getting the information from?
The configure script runs a test program which includes sys/types.h and sys/param.h.
Under cygwin, the endian macros seem to be in sys/param.h Under linux, they are in endian.h which is included from sys/types.h
There is probably an official 'correct' place to put them, but if you just want to get your code to compile, either will do.... ;-)
Andre --
__________________________________________________ Do You Yahoo!? Everything you'll ever need on one web page from News and Sport to Email and Music Charts http://uk.my.yahoo.com