Hello all,
I tried to write a macro to check if a system is big endian or little endian
with no success. Don't get me wrong, I have no problem writing a function or
a one liner to do that, but I was trying to do it in a _macro_ with no
side-effect (no global variable declaration). I suspect this is not
possible.
Anyone cares to prove me wrong ?
--
Guillaume Dargaud
I tried to write a macro to check if a system is big endian or little endian
with no success. Don't get me wrong, I have no problem writing a function or
a one liner to do that, but I was trying to do it in a _macro_ with no
side-effect (no global variable declaration). I suspect this is not
possible.
Anyone cares to prove me wrong ?
--
Guillaume Dargaud
Comment