Use the BYTE_ORDER macro which has been available in GCC since 4.6 and is
available in clang as well.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Sorry it took so long, I completely missed it (even the ping). :(
I believe FreeBSD still uses the old style, but I guess if both compilers support it, it should make no difference, right?
--renato