mirror of
https://github.com/glest/glest-source.git
synced 2025-08-08 09:26:27 +02:00
- 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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user