Skip unnecessary CMake tests

This commit is contained in:
Tsuda Kageyu
2013-04-23 08:38:43 +09:00
parent 49b07a2662
commit 3293cee11e
3 changed files with 146 additions and 129 deletions

View File

@ -222,14 +222,14 @@ ulonglong byteSwap<ulonglong>(ulonglong x)
#else
return (x & 0xff00000000000000ull) >> 56)
| (x & 0x00ff000000000000ull) >> 40)
| (x & 0x0000ff0000000000ull) >> 24)
| (x & 0x000000ff00000000ull) >> 8)
| (x & 0x00000000ff000000ull) << 8)
| (x & 0x0000000000ff0000ull) << 24)
| (x & 0x000000000000ff00ull) << 40)
| (x & 0x00000000000000ffull) << 56);
return ((x & 0xff00000000000000ull) >> 56)
| ((x & 0x00ff000000000000ull) >> 40)
| ((x & 0x0000ff0000000000ull) >> 24)
| ((x & 0x000000ff00000000ull) >> 8)
| ((x & 0x00000000ff000000ull) << 8)
| ((x & 0x0000000000ff0000ull) << 24)
| ((x & 0x000000000000ff00ull) << 40)
| ((x & 0x00000000000000ffull) << 56);
#endif
}