From 08443a64f78faef122366985ada6b1e50efb5e12 Mon Sep 17 00:00:00 2001 From: avolkov Date: Fri, 13 Jan 2006 03:31:53 +0000 Subject: [PATCH] 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 --- sc2/src/port.h | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sc2/src/port.h b/sc2/src/port.h index 650c5ea2b..dbfa76b7b 100644 --- a/sc2/src/port.h +++ b/sc2/src/port.h @@ -127,17 +127,6 @@ typedef unsigned short wchar_t; typedef unsigned int wint_t; #endif -#ifdef HAVE_ISWGRAPH -# include -#else -# include -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 // from the right location. // TODO: Where the SDL and SDL_image headers are located could be detected