/* -----------------------------------------------------------------------------
- * $Id: Stg.h,v 1.34 2000/12/04 12:31:20 simonmar Exp $
+ * $Id: Stg.h,v 1.36 2001/03/01 12:25:32 rrt Exp $
*
* (c) The GHC Team, 1998-1999
*
/* Configuration */
#include "config.h"
-#ifdef __HUGS__ /* vile hack till the GHC folks come on board */
-#include "options.h"
-#endif
/* Some macros to handle DLLing (Win32 only at the moment). */
#include "StgDLL.h"
+/* Fix for mingw stat problem (done here so it's early enough) */
+#ifdef mingw32_TARGET_OS
+#define __MSVCRT__ 1
+#endif
+
/* Turn lazy blackholing and eager blackholing on/off.
*
* Using eager blackholing makes things easier to debug because
# define LAZY_BLACKHOLING
#endif
-/* ToDo: Set this flag properly: COMPILER and INTERPRETER should not be mutually exclusive. */
-#ifndef INTERPRETER
+/* ToDo: remove */
#define COMPILER 1
-#endif
/* TABLES_NEXT_TO_CODE says whether to assume that info tables are
* assumed to reside just before the code for a function.