diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-01-13 18:02:31 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-01-13 18:02:31 +0000 |
commit | 98f73eeffb53e10a5239c143ab6d4109a7aefc84 (patch) | |
tree | e5bbafb8380bb20ea968bcf03ee2e67cdfd36c80 /stoc | |
parent | fe6d0478420f00ab9b73f5e1667174c49a017cee (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.cxx | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/stoc/test/excomp/excomp.cxx b/stoc/test/excomp/excomp.cxx index e99819d30776..2a3d7cef1b02 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")); |