Not using iswgraph() anywhere and not going to
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@2170 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -127,17 +127,6 @@ typedef unsigned short wchar_t;
|
|||||||
typedef unsigned int wint_t;
|
typedef unsigned int wint_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_ISWGRAPH
|
|
||||||
# include <wctype.h>
|
|
||||||
#else
|
|
||||||
# include <ctype.h>
|
|
||||||
static inline int
|
|
||||||
iswgraph(wint_t wc)
|
|
||||||
{ // this is not exact as UCS defines many more non-printable
|
|
||||||
return wc > 0xa0 || (wc < 0x80 && isgraph((int) wc));
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Use SDL_INCLUDE and SDL_IMAGE_INCLUDE to portably include the SDL files
|
// Use SDL_INCLUDE and SDL_IMAGE_INCLUDE to portably include the SDL files
|
||||||
// from the right location.
|
// from the right location.
|
||||||
// TODO: Where the SDL and SDL_image headers are located could be detected
|
// TODO: Where the SDL and SDL_image headers are located could be detected
|
||||||
|
|||||||
Reference in New Issue
Block a user