diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-03-12 17:06:09 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-04-01 01:21:27 -0400 |
commit | 0002db1bf436cbd32f97b659a52b1eee4e8b21db (patch) | |
tree | c42a2a91c5194a8af5c99b189ff1f8b6471ee809 /configure.ac | |
parent | 7627eab5dd882eb6f1567e3ae95c6c770830a5eb (diff) | |
download | haskell-0002db1bf436cbd32f97b659a52b1eee4e8b21db.tar.gz |
Kill wORDS_BIGENDIAN and replace it with platformByteOrder (#17957)
Metric Decrease:
T13035
T1969
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 3718d272c6..a621814700 100644 --- a/configure.ac +++ b/configure.ac @@ -952,6 +952,10 @@ else AC_SUBST([Cabal64bit],[False]) fi AC_SUBST(TargetWordSize) + +AC_C_BIGENDIAN([TargetWordBigEndian=YES],[TargetWordBigEndian=NO]) +AC_SUBST(TargetWordBigEndian) + FP_CHECK_FUNC([WinExec], [@%:@include <windows.h>], [WinExec("",0)]) |