Adding support for s390x (#4297)

* changes to support s390x

* added flag for s390x

* Adding support for Linux s390x
This commit is contained in:
akamat-ibm
2017-05-12 22:42:19 +05:30
committed by Wouter van Oortmerssen
parent 9aeeddf5ac
commit 81ecc98e02

View File

@@ -75,6 +75,9 @@
// The wire format uses a little endian encoding (since that's efficient for
// the common platforms).
#if defined(__s390x__)
#define FLATBUFFERS_LITTLEENDIAN 0
#endif // __s390x__
#if !defined(FLATBUFFERS_LITTLEENDIAN)
#if defined(__GNUC__) || defined(__clang__)
#ifdef __BIG_ENDIAN__