[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)
committerGianfranco Costamagna <locutusofborg@debian.org>
Wed, 23 Dec 2020 22:15:42 +0000 (22:15 +0000)
commit40da97a8dd1a7b322c4d3744639234d4c96edbf5
treebfd6579b99b6159eedd0362fc27c6617f2b938dc
parentfce5ae4dbea115fa0b8c6a48f3a10b7cb2306651
[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