| Submitter | Paolo Carlini |
|---|---|
| Date | Sept. 19, 2010, 8:51 a.m. |
| Message ID | <4C95CEF9.2080703@oracle.com> |
| Download | mbox | patch |
| Permalink | /patch/65152/ |
| State | New |
| Headers | show |
Comments
Patch
Index: src/hash_bytes.cc =================================================================== --- src/hash_bytes.cc (revision 164387) +++ src/hash_bytes.cc (working copy) @@ -45,6 +45,7 @@ return result; } +#if __SIZEOF_SIZE_T__ == 8 // Loads n bytes, where 1 <= n < 8. inline std::size_t load_bytes(const char* p, int n) @@ -60,6 +61,7 @@ inline std::size_t shift_mix(std::size_t v) { return v ^ (v >> 47);} +#endif } namespace std