diff options
Diffstat (limited to 'sax/test')
-rw-r--r-- | sax/test/saxdemo.cxx | 4 | ||||
-rw-r--r-- | sax/test/testcomponent.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sax/test/saxdemo.cxx b/sax/test/saxdemo.cxx index 419ce7ea799b..baab11f86780 100644 --- a/sax/test/saxdemo.cxx +++ b/sax/test/saxdemo.cxx @@ -470,7 +470,7 @@ void OFileWriter::closeOutput() // Needed to switch on solaris threads -#ifdef SOLARIS +#ifdef __sun extern "C" void ChangeGlobalInit(); #endif int main (int argc, char **argv) @@ -480,7 +480,7 @@ int main (int argc, char **argv) printf( "usage : saxdemo inputfile outputfile\n" ); exit( 0 ); } -#ifdef SOLARIS +#ifdef __sun // switch on threads in solaris ChangeGlobalInit(); #endif diff --git a/sax/test/testcomponent.cxx b/sax/test/testcomponent.cxx index 339ee621f290..8380b3b43de2 100644 --- a/sax/test/testcomponent.cxx +++ b/sax/test/testcomponent.cxx @@ -42,7 +42,7 @@ using namespace ::com::sun::star::lang; using namespace ::com::sun::star::registry; // Needed to switch on solaris threads -#ifdef SOLARIS +#ifdef __sun extern "C" void ChangeGlobalInit(); #endif @@ -53,7 +53,7 @@ int main (int argc, char **argv) printf( "usage : testcomponent service dll [additional dlls]\n" ); exit( 0 ); } -#ifdef SOLARIS +#ifdef __sun // switch on threads in solaris ChangeGlobalInit(); #endif |