diff --git a/ghc/compiler/nativeGen/NCG.h b/ghc/compiler/nativeGen/NCG.h index d02415f0fd8e48d6a0f234505e4941cf9ed6f3c5..99f2e22d36dbcf44ade0d8ad70d31e880e95fb9a 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