Metrowerks doesn't have isascii()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2004-10-02 23:17:23 +00:00
parent b5172775cf
commit 413a490f94

View File

@ -841,8 +841,12 @@ WXDLLIMPEXP_BASE bool wxOKlibc(); /* for internal use */
#define wxIsspace(c) ((((unsigned)c) < 128) && isspace(c))
#endif /* VC++ */
#if defined(__MWERKS__) && !defined(isascii)
#define isascii(c) ((unsigned)(c) < 0x7f)
#endif
/*
we had goofed and defined wxIctrl() instead of (correct) wxIscntrl() in the
we had goofed and defined wxIsctrl() instead of (correct) wxIscntrl() in the
initial versions of this header -- now it is too late to remove it so
although we fixed the function/macro name above, still provide the
backwards-compatible synonym.