X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Fstg%2FDLL.h;h=7d4096025da916ca09f194a9de398495777b1760;hb=34c8d0312071f7d0f4d221a997d3408c653ef9e5;hp=245bcd1fbd812c356001dc8d045a8509e6aee1d0;hpb=5e4597f7ab70895496a26c30aadf11353c3928d2;p=ghc-hetmet.git diff --git a/includes/stg/DLL.h b/includes/stg/DLL.h index 245bcd1..7d40960 100644 --- a/includes/stg/DLL.h +++ b/includes/stg/DLL.h @@ -14,7 +14,7 @@ #ifndef __STGDLL_H__ #define __STGDLL_H__ 1 -#if defined(__PIC__) && defined(mingw32_TARGET_OS) +#if defined(__PIC__) && defined(mingw32_HOST_OS) # define DLL_IMPORT_DATA_REF(x) (_imp__##x) # define DLL_IMPORT_DATA_VARNAME(x) *_imp__##x # if __GNUC__ && !defined(__declspec) @@ -45,7 +45,7 @@ #else #define DLL_IMPORT #define DLL_IMPORT_RTS DLLIMPORT -# if defined(__PIC__) && defined(mingw32_TARGET_OS) +# if defined(__PIC__) && defined(mingw32_HOST_OS) # define DLL_IMPORT_DATA_VAR(x) _imp__##x # else # define DLL_IMPORT_DATA_VAR(x) x