rt: Use _LP64 instead of SIZE_MAX and UINT64_MAX to try to put out the burning tinderbox

This commit is contained in:
Patrick Walton
2011-08-10 10:55:41 -07:00
parent ceaf02abe1
commit f6ad051408

View File

@@ -119,7 +119,7 @@ next_power_of_two(size_t s)
tmp |= tmp >> 4;
tmp |= tmp >> 8;
tmp |= tmp >> 16;
#if SIZE_MAX == UINT64_MAX
#ifdef _LP64
tmp |= tmp >> 32;
#endif
return tmp + 1;