Skip to content
  • Erik de Castro Lopo's avatar
    Fix the non-Linux build · d068220f
    Erik de Castro Lopo authored and Matthew Pickering's avatar Matthew Pickering committed
    Summary:
    The recent Compact Regions commit (cf989ffe) builds fine on Linux
    but doesn't build on OS X r Windows.
    
    * rts/sm/CNF.c: Drop un-needed #includes.
    * Fix parenthesis usage with CPP ASSERT macro.
    * Fix format string in debugBelch messages.
    * Use stg_max() instead hand rolled inline max() function.
    
    Test Plan: Build on Linux, OS X and Windows
    
    Reviewers: gcampax, simonmar, austin, bgamari
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D2421
    d068220f