RTS tidyup sweep, first phase
[ghc-hetmet.git] / includes / rts / Config.h
1 /* -----------------------------------------------------------------------------
2  *
3  * (c) The GHC Team, 1998-2004
4  *
5  * Rts settings.
6  *
7  * NOTE: assumes #include "ghcconfig.h"
8  * 
9  * NB: THIS FILE IS INCLUDED IN NON-C CODE AND DATA!  #defines only please.
10  * ---------------------------------------------------------------------------*/
11
12 #ifndef RTS_CONFIG_H
13 #define RTS_CONFIG_H
14
15 #if defined(TICKY_TICKY) && defined(THREADED_RTS)
16 #error TICKY_TICKY is incompatible with THREADED_RTS
17 #endif
18
19 /*
20  * Whether the runtime system will use libbfd for debugging purposes.
21  */
22 #if defined(DEBUG) && defined(HAVE_BFD_H) && defined(HAVE_LIBBFD) && !defined(_WIN32)
23 #define USING_LIBBFD 1
24 #endif
25
26 /* -----------------------------------------------------------------------------
27    Signals - supported on non-PAR versions of the runtime.  See RtsSignals.h.
28    -------------------------------------------------------------------------- */
29
30 #define RTS_USER_SIGNALS 1
31
32 /* Profile spin locks */
33
34 #define PROF_SPIN
35
36 #endif /* RTS_CONFIG_H */