Kaydet (Commit) be9e7782 authored tarafından Thomas Arnhold's avatar Thomas Arnhold

remove outdated RS6000 checks

üst aaae18cc
...@@ -93,11 +93,7 @@ class ObjectStack ...@@ -93,11 +93,7 @@ class ObjectStack
}; };
/****************** F o r w a r d s **************************************/ /****************** F o r w a r d s **************************************/
#if defined( RS6000 ) #if defined ( SOLARIS )
extern "C" int yyparse(); // forward Deklaration fuer erzeugte Funktion
extern "C" void yyerror( char * );
extern "C" int yylex( void );
#elif defined ( SOLARIS )
extern "C" int yyparse(); // forward Deklaration fuer erzeugte Funktion extern "C" int yyparse(); // forward Deklaration fuer erzeugte Funktion
extern "C" void yyerror( const char * ); extern "C" void yyerror( const char * );
extern "C" int yylex( void ); extern "C" int yylex( void );
......
...@@ -315,11 +315,7 @@ int MakeToken( YYSTYPE * pTokenVal ) ...@@ -315,11 +315,7 @@ int MakeToken( YYSTYPE * pTokenVal )
return c1; return c1;
} }
#if defined( RS6000 )
extern "C" int yylex()
#else
int yylex() int yylex()
#endif
{ {
if( bTargetDefined ) if( bTargetDefined )
bTargetDefined = false; bTargetDefined = false;
...@@ -330,9 +326,7 @@ int yylex() ...@@ -330,9 +326,7 @@ int yylex()
return aKeyVal[ 0 ].nKeyWord; return aKeyVal[ 0 ].nKeyWord;
} }
#ifdef RS6000 #if defined SOLARIS
extern "C" void yyerror( char* pMessage )
#elif defined SOLARIS
extern "C" void yyerror( const char* pMessage ) extern "C" void yyerror( const char* pMessage )
#else #else
void yyerror( char* pMessage ) void yyerror( char* pMessage )
......
...@@ -184,7 +184,7 @@ static sal_uInt32 GetSvError( int nErrno ) ...@@ -184,7 +184,7 @@ static sal_uInt32 GetSvError( int nErrno )
{ 0, SVSTREAM_OK }, { 0, SVSTREAM_OK },
{ EACCES, SVSTREAM_ACCESS_DENIED }, { EACCES, SVSTREAM_ACCESS_DENIED },
{ EBADF, SVSTREAM_INVALID_HANDLE }, { EBADF, SVSTREAM_INVALID_HANDLE },
#if defined(RS6000) || defined(NETBSD) || \ #if defined(NETBSD) || \
defined(FREEBSD) || defined(MACOSX) || defined(OPENBSD) || \ defined(FREEBSD) || defined(MACOSX) || defined(OPENBSD) || \
defined(__FreeBSD_kernel__) || defined (AIX) || defined(DRAGONFLY) || \ defined(__FreeBSD_kernel__) || defined (AIX) || defined(DRAGONFLY) || \
defined(IOS) defined(IOS)
...@@ -201,7 +201,7 @@ static sal_uInt32 GetSvError( int nErrno ) ...@@ -201,7 +201,7 @@ static sal_uInt32 GetSvError( int nErrno )
{ EAGAIN, SVSTREAM_LOCKING_VIOLATION }, { EAGAIN, SVSTREAM_LOCKING_VIOLATION },
{ EISDIR, SVSTREAM_PATH_NOT_FOUND }, { EISDIR, SVSTREAM_PATH_NOT_FOUND },
{ ELOOP, SVSTREAM_PATH_NOT_FOUND }, { ELOOP, SVSTREAM_PATH_NOT_FOUND },
#if !defined(RS6000) && !defined(NETBSD) && !defined (FREEBSD) && \ #if !defined(NETBSD) && !defined (FREEBSD) && \
!defined(MACOSX) && !defined(OPENBSD) && !defined(__FreeBSD_kernel__) && \ !defined(MACOSX) && !defined(OPENBSD) && !defined(__FreeBSD_kernel__) && \
!defined(DRAGONFLY) !defined(DRAGONFLY)
{ EMULTIHOP, SVSTREAM_PATH_NOT_FOUND }, { EMULTIHOP, SVSTREAM_PATH_NOT_FOUND },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment