- updated to support building with clang compiler (And cleaned up clang warnings from initial compile). Edit build-mg.sh and read the clang section as to how to build.

This commit is contained in:
Mark Vejvoda
2013-11-19 21:57:28 +00:00
parent fe07998816
commit ab64b9343f
33 changed files with 157 additions and 150 deletions

View File

@@ -32,7 +32,7 @@ template<class T> T EndianReverse(T t) {
return t;
}
static bool isBigEndian() {
inline static bool isBigEndian() {
short n = 0x1;
return (*(char*)(&n) == 0x0);
}