summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2019-12-11 07:47:16 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-12-24 01:03:44 -0500
commit11f8eef5a9625c77f78a829406c446b615ed6168 (patch)
tree0ca1253a45550d3ebb51149b677640e6d20218c8 /libraries
parent3c12355ece0fa14e534c71a9f7327eda9773fad9 (diff)
downloadhaskell-11f8eef5a9625c77f78a829406c446b615ed6168.tar.gz
fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
Diffstat (limited to 'libraries')
-rw-r--r--libraries/base/GHC/ByteOrder.hs2
-rw-r--r--libraries/base/GHC/IO/Encoding/CodePage/API.hs2
2 files changed, 2 insertions, 2 deletions
diff --git a/libraries/base/GHC/ByteOrder.hs b/libraries/base/GHC/ByteOrder.hs
index 9b647ceb1f..7ec80d976d 100644
--- a/libraries/base/GHC/ByteOrder.hs
+++ b/libraries/base/GHC/ByteOrder.hs
@@ -18,7 +18,7 @@
module GHC.ByteOrder where
-- Required for WORDS_BIGENDIAN
-#include "ghcautoconf.h"
+#include <ghcautoconf.h>
-- | Byte ordering.
data ByteOrder
diff --git a/libraries/base/GHC/IO/Encoding/CodePage/API.hs b/libraries/base/GHC/IO/Encoding/CodePage/API.hs
index bf73f07a24..65a1b377db 100644
--- a/libraries/base/GHC/IO/Encoding/CodePage/API.hs
+++ b/libraries/base/GHC/IO/Encoding/CodePage/API.hs
@@ -8,7 +8,7 @@ module GHC.IO.Encoding.CodePage.API (
) where
-- Required for WORDS_BIGENDIAN
-#include "ghcautoconf.h"
+#include <ghcautoconf.h>
import Foreign.C
import Foreign.Ptr