kazuho / picohash

header-file-only implementation of various hash algorithms
89 stars 11 forks source link

Fixed endianness issues on WIN32 #9

Closed GlitchedPolygons closed 2 years ago

GlitchedPolygons commented 2 years ago

This fixes #4 :)

kazuho commented 2 years ago

Thank you for the PR.

Went with a simpler approach because https://stackoverflow.com/questions/29113768/visual-studio-determine-endianness states that __BYTE_ORDER__ is not available on Windows anyways.