summaryrefslogtreecommitdiffstats
path: root/nss_expr_scan.c
diff options
context:
space:
mode:
authorrcritten <>2006-01-04 22:07:58 +0000
committerrcritten <>2006-01-04 22:07:58 +0000
commit6286793e32535b2db1bc82398257a953ee36936f (patch)
tree8b36bd4acda9f174fbbade65fc582dbbcf249d56 /nss_expr_scan.c
parentd4cb1bb2095b03b502e2fd70f3c05d87ea01f9a2 (diff)
downloadmod_nss-6286793e32535b2db1bc82398257a953ee36936f.tar.gz
mod_nss-6286793e32535b2db1bc82398257a953ee36936f.tar.xz
mod_nss-6286793e32535b2db1bc82398257a953ee36936f.zip
Changes to allow the mod_nss to work in Apache 2.2.0. Based on a patch
from Oden Eriksson. The conditional to determine which API to use is a bit weak at the moment but it works with Apache 2.0.54 and 2.2.0.
Diffstat (limited to 'nss_expr_scan.c')
-rw-r--r--nss_expr_scan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nss_expr_scan.c b/nss_expr_scan.c
index 490ff54..b578651 100644
--- a/nss_expr_scan.c
+++ b/nss_expr_scan.c
@@ -1432,6 +1432,7 @@ register char *yy_bp;
#endif /* ifndef YY_NO_UNPUT */
+#ifndef YY_NO_INPUT
#ifdef __cplusplus
static int yyinput()
#else
@@ -1503,7 +1504,7 @@ static int input()
return c;
}
-
+#endif /* YY_NO_INPUT */
#ifdef YY_USE_PROTOS
void yyrestart( FILE *input_file )