Ticket #21298: patch-common_key.h.diff

File patch-common_key.h.diff, 467 bytes (added by qbarnes (Quentin Barnes), 15 years ago)

Patchfile to fix nvi's common/key.h

Line 
1*** ../common/key.h     2007-11-18 10:41:42.000000000 -0600
2--- ../common/key.h     2009-09-10 21:30:26.000000000 -0500
3***************
4*** 206,213 ****
5--- 206,215 ----
6   * Note side effect, ch is evaluated multiple times.
7   */
8  #ifndef isblank
9+ #if defined(__STDC_VERSION__) && __STDC_VERSION__ < 199901L
10  #define       isblank(ch)     ((ch) == ' ' || (ch) == '\t')
11  #endif
12+ #endif
13 
14  /* The "standard" tab width, for displaying things to users. */
15  #define       STANDARD_TAB    6