gpakosz / smhasher

Forked from code.google.com/p/smhasher
0 stars 0 forks source link

Fixes to City.h to to allow inclusion in third-party sources #27

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
City.h shouldn't include Platform.h, as that can lead to compile errors when 
City.h is included in other third-party software (such as Chromium: 
https://code.google.com/p/chromium/issues/detail?id=353157).

The attached patch should fix the issue, in a way analogous to what was done in 
r151 for the MurmurHash functions.  If this looks good to you could you please 
apply it?

Original issue reported on code.google.com by mvra...@chromium.org on 24 Mar 2014 at 11:23

Attachments:

GoogleCodeExporter commented 9 years ago
Patch applied at v152

Original comment by aappl...@google.com on 22 Apr 2014 at 9:41