mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 18:00:01 +00:00
Adding support for s390x (#4297)
* changes to support s390x * added flag for s390x * Adding support for Linux s390x
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
9aeeddf5ac
commit
81ecc98e02
@@ -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__
|
||||||
|
|||||||
Reference in New Issue
Block a user