X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b9518ee4a9cb8f6d4934afaed07aea011ec5ab1..d1427b705318677afe28b1291867f6930c8823a7:/src/common/utilscmn.cpp diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 196f506ae7..235b5c1460 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -10,7 +10,7 @@ ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ -#pragma implementation "utilscmn.h" +#pragma implementation "utils.h" #endif // For compilers that support precompilation, includes "wx.h". @@ -56,7 +56,7 @@ #include "../common/glob.inc" #endif -#ifdef __WINDOWS__ +#ifdef __WXMSW__ #include "windows.h" #endif @@ -109,7 +109,7 @@ int strncasecmp(const char *str_1, const char *str_2, size_t maxchar) } #endif -#ifdef __WINDOWS__ +#ifdef __WXMSW__ #ifndef __GNUWIN32__ #define strcasecmp stricmp @@ -134,7 +134,7 @@ extern "C" int strncasecmp (const char *, const char *, size_t); } #endif -#endif /* __WINDOWS__ */ +#endif /* __WXMSW__ */ char * @@ -519,7 +519,7 @@ int wxDebugStreamBuf::overflow(int WXUNUSED(i)) char *txt = new char[len+1]; strncpy(txt, pbase(), len); txt[len] = '\0'; -#ifdef __WINDOWS__ +#ifdef __WXMSW__ OutputDebugString((LPCSTR)txt); #else fprintf(stderr, txt); @@ -535,7 +535,7 @@ int wxDebugStreamBuf::sync(void) char *txt = new char[len+1]; strncpy(txt, pbase(), len); txt[len] = '\0'; -#ifdef __WINDOWS__ +#ifdef __WXMSW__ OutputDebugString((LPCSTR)txt); #else fprintf(stderr, txt);