X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7007fcfced6e51c61295b987f7edddbc2b7f699e..d1427b705318677afe28b1291867f6930c8823a7:/src/common/utilscmn.cpp diff --git a/src/common/utilscmn.cpp b/src/common/utilscmn.cpp index 349d6f04a0..235b5c1460 100644 --- a/src/common/utilscmn.cpp +++ b/src/common/utilscmn.cpp @@ -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);