google / farmhash

Automatically exported from code.google.com/p/farmhash
MIT License
626 stars 99 forks source link

s390x support in farmhash #21

Closed Nayana-ibm closed 7 years ago

Nayana-ibm commented 7 years ago

We had raised an issue in google/farmhash master earlier for big endian. However due to restructuring in the code via latest commits, the support for s390x needs to be explicitly added. filename: farmhash/src/farmhash.h

#endif
- #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) 
+ #elif defined(__OpenBSD__) || defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__s390x__)
 #include <sys/endian.h>
geoffpike commented 7 years ago

Fixed. Thanks!