[BACK]Return to progs.priv.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / tic

Diff for /src/usr.bin/tic/progs.priv.h between version 1.7 and 1.8

version 1.7, 2000/10/08 22:47:10 version 1.8, 2001/01/22 18:02:20
Line 32 
Line 32 
  *  Author: Thomas E. Dickey <dickey@clark.net> 1997,1998                   *   *  Author: Thomas E. Dickey <dickey@clark.net> 1997,1998                   *
  ****************************************************************************/   ****************************************************************************/
 /*  /*
  * $From: progs.priv.h,v 1.24 2000/10/01 01:33:34 tom Exp $   * $From: progs.priv.h,v 1.26 2000/11/05 00:22:05 tom Exp $
  *   *
  *      progs.priv.h   *      progs.priv.h
  *   *
Line 167 
Line 167 
 #if !HAVE_ISASCII  #if !HAVE_ISASCII
 # undef isascii  # undef isascii
 # if ('z'-'a' == 25) && ('z' < 127) && ('Z'-'A' == 25) && ('Z' < 127) && ('9' < 127)  # if ('z'-'a' == 25) && ('z' < 127) && ('Z'-'A' == 25) && ('Z' < 127) && ('9' < 127)
 #  define isascii(c) (((c) & 0xff) <= 127)  #  define isascii(c) (CharOf(c) <= 127)
 # else  # else
 #  define isascii(c) 1  /* not really ascii anyway */  #  define isascii(c) 1  /* not really ascii anyway */
 # endif  # endif
 #endif  #endif
   
   #define CharOf(c)    ((unsigned char)(c))
   
 #define SIZEOF(v) (sizeof(v)/sizeof(v[0]))  #define SIZEOF(v) (sizeof(v)/sizeof(v[0]))

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8