Commit 3065ea24 authored by Simon Marlow's avatar Simon Marlow
Browse files

TARGET_OS ==> HOST_OS

parent b0530272
...@@ -88,7 +88,7 @@ vdebugBelch(char *s, va_list ap) ...@@ -88,7 +88,7 @@ vdebugBelch(char *s, va_list ap)
#define BUFSIZE 512 #define BUFSIZE 512
#if defined(cygwin32_TARGET_OS) || defined (mingw32_TARGET_OS) #if defined(cygwin32_HOST_OS) || defined (mingw32_HOST_OS)
static int static int
isGUIApp() isGUIApp()
{ {
...@@ -113,7 +113,7 @@ isGUIApp() ...@@ -113,7 +113,7 @@ isGUIApp()
void void
rtsFatalInternalErrorFn(char *s, va_list ap) 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()) if (isGUIApp())
{ {
char title[BUFSIZE], message[BUFSIZE]; char title[BUFSIZE], message[BUFSIZE];
...@@ -150,7 +150,7 @@ rtsFatalInternalErrorFn(char *s, va_list ap) ...@@ -150,7 +150,7 @@ rtsFatalInternalErrorFn(char *s, va_list ap)
void void
rtsErrorMsgFn(char *s, va_list ap) 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()) if (isGUIApp())
{ {
char buf[BUFSIZE]; char buf[BUFSIZE];
...@@ -180,7 +180,7 @@ rtsErrorMsgFn(char *s, va_list ap) ...@@ -180,7 +180,7 @@ rtsErrorMsgFn(char *s, va_list ap)
void void
rtsDebugMsgFn(char *s, va_list ap) 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()) if (isGUIApp())
{ {
char buf[BUFSIZE]; char buf[BUFSIZE];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment