[Tuxnes-devel] D'oh, endian.h
Brought to you by:
tmmm
From: Jeroen Ruigrok/A. <as...@wx...> - 2001-03-27 11:48:53
|
Funny, my recent changes fix building on NetBSD with --enable-warnings not specified. Doesn't fix it on FreeBSD yet. Still the endian.h issue. I need to wrap that in some funny stuff. Weird thing is that NetBSD only defines _BIG_ENDIAN and BIG_ENDIAN, _NOT_ __BIG_ENDIAN so I expected it to fail. FreeBSD only defines BIG_ENDIAN. That took me a bit off. I raised the issues though. I wonder where the __ defines came from though, since although it is ok to use them to avoid namespace issues, I cannot remember any problems up till now. Looking at Mike's endian.h paste, it looks like I can strip the __ of the defines used without penalties on the three platforms and not clobber/clutter the code with weird constructs. Anyone have problems with that solution? -- Jeroen Ruigrok van der Werven/Asmodai .oUo. asmodai@[wxs.nl|freebsd.org] Documentation nutter/C-rated Coder BSD: Technical excellence at its best D78D D0AD 244D 1D12 C9CA 7152 035C 1138 546A B867 God does not play dice with the universe... |