[libgenstext] Don't use CMake's TEST_BIG_ENDIAN() function.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 15:43:58 +0000 (11:43 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Sat, 5 Sep 2015 15:43:58 +0000 (11:43 -0400)
commitc088100e0200cc56025191a9eff3d9f80fb5ed80
treede04cd7bb8ca209092fe2583ea2afc7d8ffcdfa5
parent58b2703108fba338c085524f68bd810f94978222
[libgenstext] Don't use CMake's TEST_BIG_ENDIAN() function.

Copied byteorder.h from libcompat. We're using a copy because we
don't want libgenstext to depend on libcompat.

Interestingly, I found this by attempting to build Gens/GS II with
MSVC 6.0 (lol). TEST_BIG_ENDIAN() failed because it couldn't find
a suitable type to test.
src/libgenstext/CMakeLists.txt
src/libgenstext/Encoding.cpp
src/libgenstext/byteorder.h [new file with mode: 0644]
src/libgenstext/byteorder.h.in [deleted file]