Skip to content

Commit

Permalink
Adding support for s390x (#4297)
Browse files Browse the repository at this point in the history
* changes to support s390x

* added flag for s390x

* Adding support for Linux s390x
  • Loading branch information
akamat-ibm authored and aardappel committed May 12, 2017
1 parent 9aeeddf commit 81ecc98
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/flatbuffers/flatbuffers.h
Expand Up @@ -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__
Expand Down

0 comments on commit 81ecc98

Please sign in to comment.