summaryrefslogtreecommitdiff
path: root/flex.skl
diff options
context:
space:
mode:
authorWill Estes <wlestes@users.sourceforge.net>2001-10-21 17:23:53 +0000
committerWill Estes <wlestes@users.sourceforge.net>2001-10-21 17:23:53 +0000
commit27eda8c47c70a8a3ed4db946c02a5e955594582c (patch)
tree3a0e0cbc6de3534625df31d697ad22c62f7baed3 /flex.skl
parente4871d3cd3350f7d7d2b624ffdd7491868c1c5a2 (diff)
apparently, isatty and c++ need help getting along (from octave)
Diffstat (limited to 'flex.skl')
-rw-r--r--flex.skl3
1 files changed, 3 insertions, 0 deletions
diff --git a/flex.skl b/flex.skl
index ba90d71..9b9d0dd 100644
--- a/flex.skl
+++ b/flex.skl
@@ -1445,6 +1445,9 @@ void yyFlexLexer::yy_delete_buffer( YY_BUFFER_STATE b )
%-
#ifndef YY_ALWAYS_INTERACTIVE
#ifndef YY_NEVER_INTERACTIVE
+#ifdef __cplusplus
+extern "C" int isatty YY_PROTO(( int ));
+#else
extern int isatty YY_PROTO(( int ));
#endif
#endif