Skip to content
Snippets Groups Projects
Commit f5a511f1 authored by Peter Trommler's avatar Peter Trommler :drum: Committed by David Feuer
Browse files

Disable unboxed arrays on big-endian

Unboxed arrays are broken on big-endian architectures, see
ghc/ghc#16998 for details.
This patch makes the use of unboxed arrays conditional on
little-endian architecture.

Fixes #673
parent c3a4e788
No related branches found
No related tags found
No related merge requests found
......@@ -35,7 +35,13 @@
#ifdef __GLASGOW_HASKELL__
# define USE_ST_MONAD 1
#ifndef WORDS_BIGENDIAN
/*
* Unboxed arrays are broken on big-endian architectures.
* See https://gitlab.haskell.org/ghc/ghc/-/issues/16998
*/
# define USE_UNBOXED_ARRAYS 1
#endif
#endif
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment