Commit 81ecc98e authored by akamat-ibm's avatar akamat-ibm Committed by Wouter van Oortmerssen

Adding support for s390x (#4297)

* changes to support s390x

* added flag for s390x

* Adding support for Linux s390x
parent 9aeeddf5
...@@ -75,6 +75,9 @@ ...@@ -75,6 +75,9 @@
// The wire format uses a little endian encoding (since that's efficient for // The wire format uses a little endian encoding (since that's efficient for
// the common platforms). // the common platforms).
#if defined(__s390x__)
#define FLATBUFFERS_LITTLEENDIAN 0
#endif // __s390x__
#if !defined(FLATBUFFERS_LITTLEENDIAN) #if !defined(FLATBUFFERS_LITTLEENDIAN)
#if defined(__GNUC__) || defined(__clang__) #if defined(__GNUC__) || defined(__clang__)
#ifdef __BIG_ENDIAN__ #ifdef __BIG_ENDIAN__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment