[Libreoffice-commits] .: rsc/source tools/source
Thomas Arnhold
tarnhold at kemper.freedesktop.org
Tue Feb 15 04:28:27 PST 2011
rsc/source/parser/rsclex.cxx | 4 ++--
tools/source/stream/strmunx.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 08212f41ee9e6321fcba9517c3dbc9da0674ecfc
Author: Thomas Arnhold <thomas at arnhold.org>
Date: Tue Feb 15 00:49:06 2011 +0100
Remove HP9000
diff --git a/rsc/source/parser/rsclex.cxx b/rsc/source/parser/rsclex.cxx
index 325d1be..75c5ea3 100644
--- a/rsc/source/parser/rsclex.cxx
+++ b/rsc/source/parser/rsclex.cxx
@@ -295,7 +295,7 @@ int MakeToken( YYSTYPE * pTokenVal ){
return( c1 );
}
-#if defined( RS6000 ) || defined( HP9000 ) || defined( SCO )
+#if defined( RS6000 ) || defined( SCO )
extern "C" int yylex()
#else
int yylex()
@@ -314,7 +314,7 @@ int yylex()
/****************** yyerror **********************************************/
#ifdef RS6000
extern "C" void yyerror( char* pMessage )
-#elif defined HP9000 || defined SCO || defined SOLARIS
+#elif defined SCO || defined SOLARIS
extern "C" void yyerror( const char* pMessage )
#else
void yyerror( char* pMessage )
diff --git a/tools/source/stream/strmunx.cxx b/tools/source/stream/strmunx.cxx
index 84c23e2..462bd9a 100644
--- a/tools/source/stream/strmunx.cxx
+++ b/tools/source/stream/strmunx.cxx
@@ -210,7 +210,7 @@ static sal_uInt32 GetSvError( int nErrno )
{ 0, SVSTREAM_OK },
{ EACCES, SVSTREAM_ACCESS_DENIED },
{ EBADF, SVSTREAM_INVALID_HANDLE },
-#if defined( RS6000 ) || defined( ALPHA ) || defined( HP9000 ) || defined( NETBSD ) || defined(FREEBSD) || defined(MACOSX) || \
+#if defined( RS6000 ) || defined( ALPHA ) || defined( NETBSD ) || defined(FREEBSD) || defined(MACOSX) || \
defined(OPENBSD) || defined(__FreeBSD_kernel__) || defined ( AIX )
{ EDEADLK, SVSTREAM_LOCKING_VIOLATION },
#else
More information about the Libreoffice-commits
mailing list