Eliminate IF_ARCH_sparc
[ghc-hetmet.git] / compiler / nativeGen / NCG.h
1 /* -----------------------------------------------------------------------------
2
3    (c) The University of Glasgow, 1994-2004
4
5    Native-code generator header file - just useful macros for now.
6
7    -------------------------------------------------------------------------- */
8
9 #ifndef NCG_H
10 #define NCG_H
11
12 #include "ghc_boot_platform.h"
13
14 #define COMMA ,
15
16 -- - - - - - - - - - - - - - - - - - - - - - 
17 #if i386_TARGET_ARCH
18 # define IF_ARCH_i386(x,y) x
19 #else
20 # define IF_ARCH_i386(x,y) y
21 #endif
22 -- - - - - - - - - - - - - - - - - - - - - - 
23 #if linux_TARGET_OS
24 # define IF_OS_linux(x,y) x
25 #else
26 # define IF_OS_linux(x,y) y
27 #endif
28 -- - - - - - - - - - - - - - - - - - - - - - 
29 #if darwin_TARGET_OS
30 # define IF_OS_darwin(x,y) x
31 #else
32 # define IF_OS_darwin(x,y) y
33 #endif
34 #endif