summaryrefslogtreecommitdiff
path: root/includes/stg/DLL.h
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-07-14 18:47:15 +0000
committerIan Lynagh <igloo@earth.li>2010-07-14 18:47:15 +0000
commit75fea0db6f7d187aea994485a9b85c4d2b44fb83 (patch)
tree7fdb36780050e9f777ba1471f774aa307b04bbc5 /includes/stg/DLL.h
parent1c59af0bf4fbd699aafd71082e6ba6d373b59c23 (diff)
downloadhaskell-75fea0db6f7d187aea994485a9b85c4d2b44fb83.tar.gz
Change some TARGET checks to HOST checks
Diffstat (limited to 'includes/stg/DLL.h')
-rw-r--r--includes/stg/DLL.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/stg/DLL.h b/includes/stg/DLL.h
index 245bcd1fbd..7d4096025d 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