[w3m-dev 02472] cleanup CYGWIN macro

From: Tsutomu Okada <okada@furuno.co.jp>
This commit is contained in:
Fumitoshi UKAI
2001-11-21 09:09:10 +00:00
parent 4c26b8608d
commit 501af67443
4 changed files with 22 additions and 13 deletions

10
terms.c
View File

@@ -1,4 +1,4 @@
/* $Id: terms.c,v 1.9 2001/11/19 19:21:11 ukai Exp $ */
/* $Id: terms.c,v 1.10 2001/11/21 09:09:10 ukai Exp $ */
/*
* An original curses library for EUC-kanji by Akinori ITO, December 1989
* revised by Akinori ITO, January 1995
@@ -1089,13 +1089,13 @@ refresh(void)
* avoid the scroll, I prohibit to draw character on
* (COLS-1,LINES-1).
*/
#if !defined( BG_COLOR ) || defined( CYGWIN )
#ifdef CYGWIN
#if !defined(BG_COLOR) || defined(__CYGWIN__)
#if defined(__CYGWIN__) && LANG == JA
if (isWinConsole)
#endif
#endif /* defined(__CYGWIN__) && LANG == JA */
if (line == LINES - 1 && col == COLS - 1)
break;
#endif /* not BG_COLOR */
#endif /* !defined(BG_COLOR) || defined(__CYGWIN__) */
if ((!(pr[col] & S_STANDOUT) && (mode & S_STANDOUT)) ||
(!(pr[col] & S_UNDERLINE) && (mode & S_UNDERLINE)) ||
(!(pr[col] & S_BOLD) && (mode & S_BOLD)) ||