From bff69b90234815d3945fe3e76ad57589fe76bc7a Mon Sep 17 00:00:00 2001 From: sof Date: Mon, 24 Mar 1997 06:03:57 +0000 Subject: [PATCH] [project @ 1997-03-24 06:03:57 by sof] cygwin32 macros --- ghc/compiler/nativeGen/NCG.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ghc/compiler/nativeGen/NCG.h b/ghc/compiler/nativeGen/NCG.h index d02415f..99f2e22 100644 --- a/ghc/compiler/nativeGen/NCG.h +++ b/ghc/compiler/nativeGen/NCG.h @@ -130,6 +130,12 @@ you will screw up the layout where they are used in case expressions! #else # define IF_OS_bsdi(x,y) y #endif +-- - - - - - - - - - - - - - - - - - - - - - +#if cygwin32_TARGET_OS +# define IF_OS_cygwin32(x,y) x +#else +# define IF_OS_cygwin32(x,y) y +#endif --------------------------------------------- #if sparc_TARGET_ARCH # define IF_ARCH_sparc(x,y) x -- 1.7.10.4