X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FHeapStackCheck.cmm;h=c41b9b5d1a68eadc8fc9609df40eccfe7354e6b3;hb=268d028c0275b7899c46c61b7b9d8449f4b2427e;hp=7a0828bf201aa2fa55fd561fcf681b6f4b3b9c63;hpb=ea22f57fe6b77cde3c3ec040f1246bf0e8ecef36;p=ghc-hetmet.git diff --git a/ghc/rts/HeapStackCheck.cmm b/ghc/rts/HeapStackCheck.cmm index 7a0828b..c41b9b5 100644 --- a/ghc/rts/HeapStackCheck.cmm +++ b/ghc/rts/HeapStackCheck.cmm @@ -55,7 +55,7 @@ CLOSE_NURSERY(); \ CurrentNursery = bdescr_link(CurrentNursery); \ OPEN_NURSERY(); \ - if (CInt[context_switch] != 0) { \ + if (CInt[context_switch] != 0 :: CInt) { \ R1 = ThreadYielding; \ goto sched; \ } else { \ @@ -860,7 +860,7 @@ stg_block_putmvar BLOCK_GENERIC; } -#ifdef mingw32_TARGET_OS +#ifdef mingw32_HOST_OS INFO_TABLE_RET( stg_block_async, 0/*framesize*/, 0/*bitmap*/, RET_SMALL ) { W_ ares;