summaryrefslogtreecommitdiff
path: root/rts/Task.c
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2015-12-04 10:10:55 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2015-12-04 10:11:30 +0100
commitcd9f3bf9b8068fc52bb61bc3badcc1c753fbd14b (patch)
tree25dbae71a23f60a8d0d4aded1b92adddcbe168d7 /rts/Task.c
parent7af29da05d2e5a5e311a5f73f20d0f232035973b (diff)
downloadhaskell-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.c2
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;