summaryrefslogtreecommitdiff
path: root/ucb
diff options
context:
space:
mode:
authorJesús Corrius <jesus@softcatala.org>2011-06-24 11:18:14 +0200
committerJesús Corrius <jesus@softcatala.org>2011-06-24 11:18:14 +0200
commit60acd685b2c7b1c91e09ac81732823e09b8db231 (patch)
tree6d417878daa4ba97b46cb7583b8677a450e3ad72 /ucb
parent5438a69c001e2160cde1f4e93a68fdce9fcd6ddd (diff)
main must return int in mingw32
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/odma/odma_main.cxx4
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 15b75ec4bd39..700814377a6f 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)