diff options
author | Steve Peters <steve@fisharerojo.org> | 2006-10-04 18:45:37 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2006-10-04 18:45:37 +0000 |
commit | 6d9c9890b6305b20fe39f3b418a5330f9fb32465 (patch) | |
tree | 39ac6e45ce6940d6fb640067e8d8fa1eb9ee1451 /x2p | |
parent | dab8accc950a57180c2a6414eeb663fee64b5567 (diff) | |
download | perl-6d9c9890b6305b20fe39f3b418a5330f9fb32465.tar.gz |
Fixes to compile Perl with g++ and DEBUGGING.
p4raw-id: //depot/perl@28934
Diffstat (limited to 'x2p')
-rw-r--r-- | x2p/a2p.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -2179,13 +2179,17 @@ int yyparse (void); #define YYREJECT goto yyabort #define YYACCEPT goto yyaccept #define YYERROR goto yyerrlab + +#if YYDEBUG +EXTERN_C char *getenv(const char *); +#endif + int yyparse(void) { register int yym, yyn, yystate; #if YYDEBUG register char *yys; - extern char *getenv(); if ((yys = getenv("YYDEBUG"))) { |