f65cfc8e931d2ca7a11f503d606a615fcdd044ff
[ghc-hetmet.git] / ghc / includes / Derived.h
1 /* -----------------------------------------------------------------------------
2  * $Id: Derived.h,v 1.2 2001/08/04 06:09:24 ken Exp $
3  *
4  * (c) The GHC Team, 1998-2001
5  *
6  * Configuration information derived from config.h.
7  *
8  * NOTE: assumes #include "config.h"
9  * 
10  * NB: THIS FILE IS INCLUDED IN NON-C CODE AND DATA!  #defines only please.
11  * ---------------------------------------------------------------------------*/
12
13 #ifndef DERIVED_H
14 #define DERIVED_H
15
16 /*
17  * SUPPORT_LONG_LONGS controls whether we need to support long longs on a
18  * particular platform.   On 64-bit platforms, we don't need to support
19  * long longs since regular machine words will do just fine.
20  */
21 #if HAVE_LONG_LONG && SIZEOF_VOID_P < 8
22 #define SUPPORT_LONG_LONGS 1
23 #endif
24
25 /*
26  * Whether the runtime system will use libbfd for debugging purposes.
27  */
28 #if defined(DEBUG) && defined(HAVE_BFD_H) && !defined(_WIN32) && !defined(PAR) && !defined(GRAN)
29 #define USING_LIBBFD 1
30 #endif
31
32 #endif /* DERIVED_H */