• parcs's avatar
    Fix bootstrapping of GHC with earlier versions · 1f5338e7
    parcs authored
    We can no longer use atomic_inc() in the stage1 compiler because its
    prototype was recently changed.
    
    Since the stage1 compiler is always single-threaded, only use
    atomic_inc() when THREADED_RTS is defined.
    1f5338e7
genSym.c 282 Bytes