summaryrefslogtreecommitdiff
path: root/rts/Task.h
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.h
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.h')
-rw-r--r--rts/Task.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Task.h b/rts/Task.h
index 58798bd24d..817a99a543 100644
--- a/rts/Task.h
+++ b/rts/Task.h
@@ -94,7 +94,7 @@ typedef struct InCall_ {
// without owning a Capability in the
// first place.
- SchedulerStatus stat; // return status
+ SchedulerStatus rstat; // return status
StgClosure ** ret; // return value
struct Task_ *task;