diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-19 23:13:11 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-19 23:14:26 +0100 |
commit | 34eaf2b8d699c49ba367f26840052c8c9aa031b1 (patch) | |
tree | 99fc21884af27e954478f0596f348c43eaa35866 /rts/RtsUtils.c | |
parent | d8c890263cea273bac6d3cffa7525d8ba49acb5d (diff) | |
download | haskell-34eaf2b8d699c49ba367f26840052c8c9aa031b1.tar.gz |
Fix two occurences of `x86_HOST_ARCH`
The proper name for the define is `i386_HOST_ARCH`
One was introduced back in 2011 via
035b8ebb5405efbcbfd3474821a877add1feca1e / #4914
and the other one more recently via
4905b83a2d448c65ccced385343d4e8124548a3b
We may want to add some validation to catch such typos early on...
Reviewed By: erikd
Differential Revision: https://phabricator.haskell.org/D1664
Diffstat (limited to 'rts/RtsUtils.c')
-rw-r--r-- | rts/RtsUtils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/RtsUtils.c b/rts/RtsUtils.c index ddf5a1fef2..72e19a0b44 100644 --- a/rts/RtsUtils.c +++ b/rts/RtsUtils.c @@ -319,7 +319,7 @@ int rts_isDynamic(void) // Used for detecting a non-empty FPU stack on x86 (see #4914) void checkFPUStack(void) { -#ifdef x86_HOST_ARCH +#ifdef i386_HOST_ARCH static unsigned char buf[108]; asm("FSAVE %0":"=m" (buf)); |