[project @ 2003-11-14 14:28:07 by stolz]
[ghc-hetmet.git] / ghc / includes / StgDLL.h
index 599d9e8..ededcc9 100644 (file)
 #ifdef COMPILING_RTS
 #define DLL_IMPORT DLLIMPORT
 #define DLL_IMPORT_RTS
-#define DLL_IMPORT_DATA
 #define DLL_IMPORT_DATA_VAR(x) x
 #else
 #define DLL_IMPORT
 #define DLL_IMPORT_RTS DLLIMPORT
-#define DLL_IMPORT_DATA DLLIMPORT
 # ifdef ENABLE_WIN32_DLL_SUPPORT
 #  define DLL_IMPORT_DATA_VAR(x) _imp__##x
 # else
 # endif
 #endif
 
+#ifdef COMPILING_STDLIB
+#define DLL_IMPORT_STDLIB
+#else
+#define DLL_IMPORT_STDLIB DLLIMPORT
+#endif
+
 #endif /* __STGDLL_H__ */