diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-06-22 22:00:01 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2013-06-22 22:02:28 +1000 |
commit | ffe2e22c11518994108f1f319764fe898e899086 (patch) | |
tree | 9b7aa8e3302e4e5f32209ad17e56176a91b5e8d2 /includes | |
parent | e3815430d33ec2f912d8d864e06306d3ff952f9e (diff) | |
download | haskell-ffe2e22c11518994108f1f319764fe898e899086.tar.gz |
Fix #8009 : Failure to compile on powerpc64-linux.
Add definitions for stg_C_FINALIZER_LIST and n_capabilities.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/stg/MiscClosures.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/stg/MiscClosures.h b/includes/stg/MiscClosures.h index ca5280f188..8717687f3e 100644 --- a/includes/stg/MiscClosures.h +++ b/includes/stg/MiscClosures.h @@ -98,6 +98,7 @@ RTS_FUN(stg_BCO); RTS_ENTRY(stg_EVACUATED); RTS_ENTRY(stg_WEAK); RTS_ENTRY(stg_DEAD_WEAK); +RTS_ENTRY(stg_C_FINALIZER_LIST); RTS_ENTRY(stg_STABLE_NAME); RTS_ENTRY(stg_MVAR_CLEAN); RTS_ENTRY(stg_MVAR_DIRTY); @@ -483,6 +484,9 @@ extern StgWord CCS_SYSTEM[]; extern unsigned int RTS_VAR(CC_ID); /* global ids */ extern unsigned int RTS_VAR(CCS_ID); +// Capability.c +extern unsigned int n_capabilities; + #endif #endif /* STGMISCCLOSURES_H */ |