Skip to content

Commit 81ecc98

Browse files
akamat-ibmaardappel
authored andcommitted
Adding support for s390x (#4297)
* changes to support s390x * added flag for s390x * Adding support for Linux s390x
1 parent 9aeeddf commit 81ecc98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/flatbuffers/flatbuffers.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@
7575

7676
// The wire format uses a little endian encoding (since that's efficient for
7777
// the common platforms).
78+
#if defined(__s390x__)
79+
#define FLATBUFFERS_LITTLEENDIAN 0
80+
#endif // __s390x__
7881
#if !defined(FLATBUFFERS_LITTLEENDIAN)
7982
#if defined(__GNUC__) || defined(__clang__)
8083
#ifdef __BIG_ENDIAN__

0 commit comments

Comments
 (0)