[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>
Mon, 9 Dec 2019 14:41:57 +0000 (15:41 +0100)
committerPeter Michael Green <plugwash@raspbian.org>
Thu, 30 Sep 2021 18:21:04 +0000 (19:21 +0100)
commitf297c1ed69cac63969aaaeb77ed2e064cb4d61de
tree4db49365ef591c5e320bdd5c7ff1117204eb0870
parent6b230f08fe97cac562979942db698ada72b3ba47
[PATCH] Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN

Include header file `ghcautoconf.h` where the CPP macro
`WORDS_BIGENDIAN` is defined. This finally fixes #17337 (in conjunction
with commit 6c59cc71dc).

Gbp-Pq: Name 3c12355ece0fa14e534c71a9f7327eda9773fad9.patch
libraries/base/GHC/ByteOrder.hs
libraries/base/GHC/IO/Encoding/CodePage/API.hs