Add stage2/ghci to ghc-api's import list.
[ghc-hetmet.git] / ghc / includes / Rts.h
index ebc2f23..3ca0d9a 100644 (file)
@@ -70,6 +70,22 @@ extern void _assertFail (char *, unsigned int);
 
 #define doNothing() do { } while (0)
 
+#ifdef DEBUG
+#define USED_IF_DEBUG
+#define USED_IF_NOT_DEBUG STG_UNUSED
+#else
+#define USED_IF_DEBUG STG_UNUSED
+#define USED_IF_NOT_DEBUG
+#endif
+
+#ifdef THREADED_RTS
+#define USED_IF_THREADS
+#define USED_IF_NOT_THREADS STG_UNUSED
+#else
+#define USED_IF_THREADS STG_UNUSED
+#define USED_IF_NOT_THREADS
+#endif
+
 /* -----------------------------------------------------------------------------
    Include everything STG-ish
    -------------------------------------------------------------------------- */