diff options
Diffstat (limited to 'src/usr/fapi2')
| -rwxr-xr-x | src/usr/fapi2/platCreateHwpErrParser.pl | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/src/usr/fapi2/platCreateHwpErrParser.pl b/src/usr/fapi2/platCreateHwpErrParser.pl index 0281a8aca..618459e30 100755 --- a/src/usr/fapi2/platCreateHwpErrParser.pl +++ b/src/usr/fapi2/platCreateHwpErrParser.pl @@ -77,7 +77,7 @@ print TGFILE "// hbfwPlatHwpErrParser.H\n";  print TGFILE "// This file is generated by perl script platCreateHwpErrParser.pl\n\n";  print TGFILE "#ifndef HBFWPLATHWPERRPARSER_H_\n";  print TGFILE "#define HBFWPLATHWPERRPARSER_H_\n\n"; -print TGFILE "#ifdef PARSER\n\n"; +print TGFILE "#if defined(PARSER) || defined(LOGPARSER)\n\n";  print TGFILE "namespace fapi2\n";  print TGFILE "{\n\n";  print TGFILE "void hbfwParseHwpRc(ErrlUsrParser & i_parser,\n"; @@ -207,7 +207,7 @@ print TGFILE "// hbfwPlatHwpErrParserFFDC.H\n";  print TGFILE "// This file is generated by perl script platCreateHwpErrParser.pl\n\n";  print TGFILE "#ifndef HBFWPLATHWPERRPARSERFFDC_H_\n";  print TGFILE "#define HBFWPLATHWPERRPARSERFFDC_H_\n\n"; -print TGFILE "#ifdef PARSER\n\n"; +print TGFILE "#if defined(PARSER) || defined(LOGPARSER)\n\n";  print TGFILE "#include <netinet/in.h>\n\n";  print TGFILE "namespace fapi2\n";  print TGFILE "{\n\n"; | 

