summaryrefslogtreecommitdiff
path: root/rsc/source/parser
diff options
context:
space:
mode:
Diffstat (limited to 'rsc/source/parser')
-rw-r--r--rsc/source/parser/rsclex.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index b4a23f0a0bf5..6c261c4282ac 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -315,11 +315,7 @@ int MakeToken( YYSTYPE * pTokenVal )
return c1;
}
-#if defined( RS6000 )
-extern "C" int yylex()
-#else
int yylex()
-#endif
{
if( bTargetDefined )
bTargetDefined = false;
@@ -330,9 +326,7 @@ int yylex()
return aKeyVal[ 0 ].nKeyWord;
}
-#ifdef RS6000
-extern "C" void yyerror( char* pMessage )
-#elif defined SOLARIS
+#if defined SOLARIS
extern "C" void yyerror( const char* pMessage )
#else
void yyerror( char* pMessage )