X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2FnativeGen%2FNCG.h;h=b17f682e719cb201d4fb74a4180f36167d1c7378;hb=2c6f7109e521e906fda9e3ed7c78b85b7bffcea1;hp=48c1c79d1d796f6308efc291578c55d69c41277e;hpb=423d477bfecd490de1449c59325c8776f91d7aac;p=ghc-hetmet.git diff --git a/ghc/compiler/nativeGen/NCG.h b/ghc/compiler/nativeGen/NCG.h index 48c1c79..b17f682 100644 --- a/ghc/compiler/nativeGen/NCG.h +++ b/ghc/compiler/nativeGen/NCG.h @@ -9,7 +9,7 @@ #ifndef NCG_H #define NCG_H -#include "../includes/ghcconfig.h" +#include "ghc_boot_platform.h" #define COMMA , @@ -26,6 +26,12 @@ # define IF_ARCH_i386(x,y) y #endif -- - - - - - - - - - - - - - - - - - - - - - +#if x86_64_TARGET_ARCH +# define IF_ARCH_x86_64(x,y) x +#else +# define IF_ARCH_x86_64(x,y) y +#endif +-- - - - - - - - - - - - - - - - - - - - - - #if freebsd_TARGET_OS # define IF_OS_freebsd(x,y) x #else