summaryrefslogtreecommitdiff
path: root/rts/RtsMessages.c
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-05-24 12:21:03 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-05-24 12:21:03 +0000
commit3065ea2499deee8d4152eaf0804cc92c7217a2ba (patch)
tree641f0d011a1147b7b6fd4c107c20cf68636be395 /rts/RtsMessages.c
parentb05302725141dd9f422c918bec6d02e1572448a1 (diff)
downloadhaskell-3065ea2499deee8d4152eaf0804cc92c7217a2ba.tar.gz
TARGET_OS ==> HOST_OS
Diffstat (limited to 'rts/RtsMessages.c')
-rw-r--r--rts/RtsMessages.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/rts/RtsMessages.c b/rts/RtsMessages.c
index 1242d886eb..62a3b8b751 100644
--- a/rts/RtsMessages.c
+++ b/rts/RtsMessages.c
@@ -88,7 +88,7 @@ vdebugBelch(char *s, va_list ap)
#define BUFSIZE 512
-#if defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS)
+#if defined(cygwin32_HOST_OS) || defined (mingw32_HOST_OS)
static int
isGUIApp()
{
@@ -113,7 +113,7 @@ isGUIApp()
void
rtsFatalInternalErrorFn(char *s, va_list ap)
{
-#if defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS)
+#if defined(cygwin32_HOST_OS) || defined (mingw32_HOST_OS)
if (isGUIApp())
{
char title[BUFSIZE], message[BUFSIZE];
@@ -150,7 +150,7 @@ rtsFatalInternalErrorFn(char *s, va_list ap)
void
rtsErrorMsgFn(char *s, va_list ap)
{
-#if defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS)
+#if defined(cygwin32_HOST_OS) || defined (mingw32_HOST_OS)
if (isGUIApp())
{
char buf[BUFSIZE];
@@ -180,7 +180,7 @@ rtsErrorMsgFn(char *s, va_list ap)
void
rtsDebugMsgFn(char *s, va_list ap)
{
-#if defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS)
+#if defined(cygwin32_HOST_OS) || defined (mingw32_HOST_OS)
if (isGUIApp())
{
char buf[BUFSIZE];