summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-13 18:02:31 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-13 18:02:31 +0000
commit2b603e11e30fcaf57f4c58b7623eee5e9bf2fa4d (patch)
tree390927671be7c73e76d11f2e8698c2f65a3b4bba /stoc
parenta381901316d58a02562e328d7562598ef75fe168 (diff)
INTEGRATION: CWS cd02 (1.4.120); FILE MERGED
2004/11/15 17:29:03 dbo 1.4.120.1: #i24030# general cleanup to make buildable again
Diffstat (limited to 'stoc')
-rw-r--r--stoc/test/excomp/excomp.cxx11
1 files changed, 4 insertions, 7 deletions
diff --git a/stoc/test/excomp/excomp.cxx b/stoc/test/excomp/excomp.cxx
index 9150cb7db..9d7b3d1a6 100644
--- a/stoc/test/excomp/excomp.cxx
+++ b/stoc/test/excomp/excomp.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: excomp.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: vg $ $Date: 2003-04-15 17:15:07 $
+ * last change: $Author: kz $ $Date: 2005-01-13 19:02:31 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -63,6 +63,7 @@
#include <stdlib.h>
#include <string.h>
+#include <sal/main.h>
#ifndef _OSL_DIAGNOSE_H_
#include <osl/diagnose.h>
#endif
@@ -112,11 +113,7 @@ OUString getExePath()
return exe;
}
-#if (defined UNX) || (defined OS2)
-int main( int argc, char * argv[] )
-#else
-int _cdecl main( int argc, char * argv[] )
-#endif
+SAL_IMPLEMENT_MAIN()
{
#ifdef UNX
OUString compName1(RTL_CONSTASCII_USTRINGPARAM("libexcomp1.so"));