From: sof Date: Sat, 3 Nov 2001 01:44:04 +0000 (+0000) Subject: [project @ 2001-11-03 01:44:04 by sof] X-Git-Tag: Approximately_9120_patches~644 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=d3b91076226809b5351e9b0bd1fe0a389f728030;p=ghc-hetmet.git [project @ 2001-11-03 01:44:04 by sof] mingw32: -#include process.h to bring _getpid() proto into scope when compiling main/SysTools.lhs --- diff --git a/ghc/compiler/Makefile b/ghc/compiler/Makefile index 8cd1ea1..001c99b 100644 --- a/ghc/compiler/Makefile +++ b/ghc/compiler/Makefile @@ -1,5 +1,5 @@ # ----------------------------------------------------------------------------- -# $Id: Makefile,v 1.195 2001/10/23 16:47:30 rrt Exp $ +# $Id: Makefile,v 1.196 2001/11/03 01:44:04 sof Exp $ TOP = .. include $(TOP)/mk/boilerplate.mk @@ -304,7 +304,7 @@ main/SysTools_HC_OPTS = -fno-cse # compiler doesn't realise that the stcall foreign imports are indeed # stdcall, and doesn't generate the Foo@8 name for them ifeq "$(TARGETPLATFORM)" "i386-unknown-mingw32" -main/SysTools_HC_OPTS += '-\#include ' +main/SysTools_HC_OPTS += '-\#include ' '-\#include ' endif # ----------------------------------------------------------------------------