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

remove outdated RS6000 checks

üst aaae18cc
......@@ -93,11 +93,7 @@ class ObjectStack
};
/****************** F o r w a r d s **************************************/
#if defined( RS6000 )
extern "C" int yyparse(); // forward Deklaration fuer erzeugte Funktion
extern "C" void yyerror( char * );
extern "C" int yylex( void );
#elif defined ( SOLARIS )
#if defined ( SOLARIS )
extern "C" int yyparse(); // forward Deklaration fuer erzeugte Funktion
extern "C" void yyerror( const char * );
extern "C" int yylex( void );
......
......@@ -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 )
......
......@@ -184,7 +184,7 @@ static sal_uInt32 GetSvError( int nErrno )
{ 0, SVSTREAM_OK },
{ EACCES, SVSTREAM_ACCESS_DENIED },
{ EBADF, SVSTREAM_INVALID_HANDLE },
#if defined(RS6000) || defined(NETBSD) || \
#if defined(NETBSD) || \
defined(FREEBSD) || defined(MACOSX) || defined(OPENBSD) || \
defined(__FreeBSD_kernel__) || defined (AIX) || defined(DRAGONFLY) || \
defined(IOS)
......@@ -201,7 +201,7 @@ static sal_uInt32 GetSvError( int nErrno )
{ EAGAIN, SVSTREAM_LOCKING_VIOLATION },
{ EISDIR, 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(DRAGONFLY)
{ 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