summaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2020-07-15 16:23:47 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-07-18 07:26:47 -0400
commit8d59aed6e9f494d6eae41c5ba32cde23cecaeb14 (patch)
treeba63ee493263227d071fb3767dd21b11d954f83e /libraries
parent49b265f08c7ac9c9dea6cfff0d67447728b7b416 (diff)
downloadhaskell-8d59aed6e9f494d6eae41c5ba32cde23cecaeb14.tar.gz
GHCi: Fix isLittleEndian
Diffstat (limited to 'libraries')
-rw-r--r--libraries/ghci/GHCi/ResolvedBCO.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/ghci/GHCi/ResolvedBCO.hs b/libraries/ghci/GHCi/ResolvedBCO.hs
index 5942d37b10..e780465420 100644
--- a/libraries/ghci/GHCi/ResolvedBCO.hs
+++ b/libraries/ghci/GHCi/ResolvedBCO.hs
@@ -21,9 +21,9 @@ import GHCi.BinaryArray
isLittleEndian :: Bool
#if defined(WORDS_BIGENDIAN)
-isLittleEndian = True
-#else
isLittleEndian = False
+#else
+isLittleEndian = True
#endif
-- -----------------------------------------------------------------------------