Add explicit -DHAS_PTHREAD
...until someone works out how to do this properly in cabal.
commit7fb694411c9c2285de8091a2c52394cd735ef554
authorEdwin Brady <ecb10@st-andrews.ac.uk>
dateTue 10 Jun 2014, 19:58 (12 years ago)
parent35b22b9
src/IRTS/CodegenC.hs+1
@@ -68,6 +68,7 @@ codegenC' defs out exec incs objs libs flags dbg
6868 let gcc = comp ++ " " ++
6969 gccDbg dbg ++ " " ++
7070 gccFlags ++
71+ " -DHAS_PTHREAD " ++
7172 " -I. " ++ objs ++ " -x c " ++
7273 (if (exec == Executable) then "" else " -c ") ++
7374 " " ++ tmpn ++