X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fincludes%2FStgDLL.h;h=ededcc96b585ecb68123240bbea70b9749630948;hb=c4aefec7092fcd183f63d3990147c03bfa6c180f;hp=599d9e8a756e37d73fc902b49c052db90391c27c;hpb=539d72f60e5c616a31ffcf734505471790f4980c;p=ghc-hetmet.git diff --git a/ghc/includes/StgDLL.h b/ghc/includes/StgDLL.h index 599d9e8..ededcc9 100644 --- a/ghc/includes/StgDLL.h +++ b/ghc/includes/StgDLL.h @@ -28,12 +28,10 @@ #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 @@ -41,4 +39,10 @@ # endif #endif +#ifdef COMPILING_STDLIB +#define DLL_IMPORT_STDLIB +#else +#define DLL_IMPORT_STDLIB DLLIMPORT +#endif + #endif /* __STGDLL_H__ */