Changed __GTK__, __WINDOWS__ and __MOTIF__ to __WXGTK__, __WXMSW__ and __WXMOTIF__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user