Where? :) gcc, or our code? I spent quite some time searching the net for "c++ get endianness" and all solutions use some kind of "hackery" to tell. I even think it's impossible to do this w/o abusing the aliasing.