Derived.h 982 Bytes
Newer Older
ken's avatar
ken committed
1
/* -----------------------------------------------------------------------------
ken's avatar
ken committed
2
 * $Id: Derived.h,v 1.2 2001/08/04 06:09:24 ken Exp $
ken's avatar
ken committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 *
 * (c) The GHC Team, 1998-2001
 *
 * Configuration information derived from config.h.
 *
 * NOTE: assumes #include "config.h"
 * 
 * NB: THIS FILE IS INCLUDED IN NON-C CODE AND DATA!  #defines only please.
 * ---------------------------------------------------------------------------*/

#ifndef DERIVED_H
#define DERIVED_H

/*
 * SUPPORT_LONG_LONGS controls whether we need to support long longs on a
 * particular platform.   On 64-bit platforms, we don't need to support
 * long longs since regular machine words will do just fine.
 */
#if HAVE_LONG_LONG && SIZEOF_VOID_P < 8
#define SUPPORT_LONG_LONGS 1
#endif

ken's avatar
ken committed
25
26
27
28
29
30
31
/*
 * Whether the runtime system will use libbfd for debugging purposes.
 */
#if defined(DEBUG) && defined(HAVE_BFD_H) && !defined(_WIN32) && !defined(PAR) && !defined(GRAN)
#define USING_LIBBFD 1
#endif

ken's avatar
ken committed
32
#endif /* DERIVED_H */