X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FnativeGen%2FNCG.h;h=6771b759b6b50a2af37c562b88772ebd427f7d72;hb=103494b47713dc1ee378082ae8ad4352519b7e3f;hp=b17f682e719cb201d4fb74a4180f36167d1c7378;hpb=0065d5ab628975892cea1ec7303f968c3338cbe1;p=ghc-hetmet.git diff --git a/compiler/nativeGen/NCG.h b/compiler/nativeGen/NCG.h index b17f682..6771b75 100644 --- a/compiler/nativeGen/NCG.h +++ b/compiler/nativeGen/NCG.h @@ -38,6 +38,12 @@ # define IF_OS_freebsd(x,y) y #endif -- - - - - - - - - - - - - - - - - - - - - - +#if dragonfly_TARGET_OS +# define IF_OS_dragonfly(x,y) x +#else +# define IF_OS_dragonfly(x,y) y +#endif +-- - - - - - - - - - - - - - - - - - - - - - #if netbsd_TARGET_OS # define IF_OS_netbsd(x,y) x #else @@ -104,5 +110,4 @@ #else # define IF_OS_darwin(x,y) y #endif ---------------------------------------------- #endif