diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-04-18 03:03:42 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2001-04-18 03:03:42 +0000 |
commit | 6c89e58e7fa3985a48efd3a1fc9c337a3c5e049c (patch) | |
tree | 7feb74c8f2242b49cd62f293d2c7ec37dcfa46eb /wiretap/ascend-scanner.l | |
parent | d61a474b93171dc717c26398ba20e1792287f607 (diff) |
#define YY_NEVER_INTERACTIVE to avoid reference to isatty() on Win32,
and thus avoid a compiler warning when compiling ascend-scanner.c.
svn path=/trunk/; revision=3322
Diffstat (limited to 'wiretap/ascend-scanner.l')
-rw-r--r-- | wiretap/ascend-scanner.l | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wiretap/ascend-scanner.l b/wiretap/ascend-scanner.l index 901fdcdf45..52636a60c0 100644 --- a/wiretap/ascend-scanner.l +++ b/wiretap/ascend-scanner.l @@ -1,7 +1,7 @@ %{ /* ascend-scanner.l * - * $Id: ascend-scanner.l,v 1.18 2001/04/09 03:32:34 gerald Exp $ + * $Id: ascend-scanner.l,v 1.19 2001/04/18 03:03:42 gram Exp $ * * Wiretap Library * Copyright (c) 1998 by Gilbert Ramirez <gram@xiexie.org> @@ -46,6 +46,8 @@ extern char *ascend_ra_last; #define YY_INPUT(buf,result,max_size) { int c = file_getc(yy_fh); \ result = (c==EOF) ? YY_NULL : (buf[0] = c, 1); } +#define YY_NEVER_INTERACTIVE 1 + int at_eof; int mul, scratch; |