summaryrefslogtreecommitdiff
path: root/sax/test/saxdemo.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sax/test/saxdemo.cxx')
-rw-r--r--sax/test/saxdemo.cxx4
1 files changed, 2 insertions, 2 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