Commit de981f81 authored by simonmar's avatar simonmar
Browse files

[project @ 2005-10-24 09:28:38 by simonmar]

Fix build for way "u"
parent b587ed53
......@@ -328,7 +328,7 @@ GLOBAL_REG_DECL(StgRegTable *,BaseReg,REG_Base)
#ifdef SMP
#error BaseReg must be in a register for SMP
#endif
#define BaseReg (&((struct Capability_)MainCapability).r)
#define BaseReg (&((struct PartCapability_ *)MainCapability)->r)
#endif
#if defined(REG_Sp) && !defined(NO_GLOBAL_REG_DECLS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment