summaryrefslogtreecommitdiff
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
parent3c12355ece0fa14e534c71a9f7327eda9773fad9 (diff)
downloadhaskell-11f8eef5a9625c77f78a829406c446b615ed6168.tar.gz
fixup! Fix endian handling w.r.t. CPP macro WORDS_BIGENDIAN
-rw-r--r--libraries/base/GHC/ByteOrder.hs2
-rw-r--r--libraries/base/GHC/IO/Encoding/CodePage/API.hs2
-rw-r--r--testsuite/tests/codeGen/should_run/T7600.hs2
3 files changed, 3 insertions, 3 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
diff --git a/testsuite/tests/codeGen/should_run/T7600.hs b/testsuite/tests/codeGen/should_run/T7600.hs
index a544b8bd70..18986c2850 100644
--- a/testsuite/tests/codeGen/should_run/T7600.hs
+++ b/testsuite/tests/codeGen/should_run/T7600.hs
@@ -18,7 +18,7 @@
module Main (main) where
-- Required for WORDS_BIGENDIAN
-#include "ghcautoconf.h"
+#include <ghcautoconf.h>
import T7600_A