diff options
author | Jesús Corrius <jesus@softcatala.org> | 2011-06-24 11:18:14 +0200 |
---|---|---|
committer | Jesús Corrius <jesus@softcatala.org> | 2011-06-24 11:18:14 +0200 |
commit | 563311b0cd7beb748caa231473b342d9917578c7 (patch) | |
tree | f5ffdaddd52931ac85cd7ca60712dad22756f1c8 | |
parent | 9b38de1687c1b93d1084899f8565a56e01f6a2e4 (diff) |
main must return int in mingw32
-rw-r--r-- | ucb/source/ucp/odma/odma_main.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ucb/source/ucp/odma/odma_main.cxx b/ucb/source/ucp/odma/odma_main.cxx index 7d9768de7c..644d29dca5 100644 --- a/ucb/source/ucp/odma/odma_main.cxx +++ b/ucb/source/ucp/odma/odma_main.cxx @@ -47,8 +47,12 @@ #if (defined UNX) void main( int argc, char * argv[] ) #else +#if (defined GCC) +int _cdecl main( int argc, char * argv[] ) +#else void _cdecl main( int argc, char * argv[] ) #endif +#endif { static ::rtl::OUString sProcess(RTL_CONSTASCII_USTRINGPARAM(SOFFICE)); if(argc > 1) |