[Libreoffice-commits] .: ucb/source

Jesús Corrius jcorrius at kemper.freedesktop.org
Fri Jun 24 02:18:48 PDT 2011


 ucb/source/ucp/odma/odma_main.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 563311b0cd7beb748caa231473b342d9917578c7
Author: Jesús Corrius <jesus at softcatala.org>
Date:   Fri Jun 24 11:18:14 2011 +0200

    main must return int in mingw32

diff --git a/ucb/source/ucp/odma/odma_main.cxx b/ucb/source/ucp/odma/odma_main.cxx
index 7d9768d..644d29d 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)


More information about the Libreoffice-commits mailing list