/* -----------------------------------------------------------------------------
- * $Id: Stg.h,v 1.7 1999/03/02 19:44:17 sof Exp $
+ * $Id: Stg.h,v 1.9 1999/03/15 16:30:25 simonm Exp $
*
* (c) The GHC Team, 1998-1999
*
#define DLL_IMPORT
#define DLL_IMPORT_RTS DLLIMPORT
#define DLL_IMPORT_DATA DLLIMPORT
-#define DLL_IMPORT_DATA_VAR(x) _imp__##x
+# ifdef HAVE_WIN32_DLL_SUPPORT
+# define DLL_IMPORT_DATA_VAR(x) _imp__##x
+# else
+# define DLL_IMPORT_DATA_VAR(x) x
+# endif
#endif
/* bit macros
/* Storage format definitions */
#include "Closures.h"
+#include "ClosureTypes.h"
#include "InfoTables.h"
#include "TSO.h"
#include "Regs.h"
#include "TailCalls.h"
-/**
- * Added by Ian McDonald 7/5/98
- * XXX The position of this code is very
- * important - it must come after the
- * Regs.h include
- **/
-#ifdef nemesis_TARGET_OS
-#define _NEMESIS_OS_
-#ifndef __LANGUAGE_C
-#define __LANGUAGE_C
-#endif
-#include <nemesis.h>
-#endif
-
/* these are all ANSI C headers */
#include <stdlib.h>
#include <string.h>