diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-04 10:10:55 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2015-12-04 10:11:30 +0100 |
commit | cd9f3bf9b8068fc52bb61bc3badcc1c753fbd14b (patch) | |
tree | 25dbae71a23f60a8d0d4aded1b92adddcbe168d7 /rts/Task.c | |
parent | 7af29da05d2e5a5e311a5f73f20d0f232035973b (diff) | |
download | haskell-cd9f3bf9b8068fc52bb61bc3badcc1c753fbd14b.tar.gz |
RTS: Rename InCall.stat struct field to .rstat
On AIX, C system headers can redirect the token `stat` via
#define stat stat64
to provide large-file support. Simply avoiding the use of `stat` as an
identifier eschews macro-replacement.
Differential Revision: https://phabricator.haskell.org/D1566
Diffstat (limited to 'rts/Task.c')
-rw-r--r-- | rts/Task.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Task.c b/rts/Task.c index be72c1bd23..82f7780654 100644 --- a/rts/Task.c +++ b/rts/Task.c @@ -264,7 +264,7 @@ newInCall (Task *task) incall->task = task; incall->suspended_tso = NULL; incall->suspended_cap = NULL; - incall->stat = NoStatus; + incall->rstat = NoStatus; incall->ret = NULL; incall->next = NULL; incall->prev = NULL; |