summaryrefslogtreecommitdiff
path: root/desktop/win32/source/applauncher/launcher.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-07-17 06:28:25 +0000
committerOliver Bolte <obo@openoffice.org>2007-07-17 06:28:25 +0000
commit8634021d77402fd3da51c1fe1099ec8efe8b673e (patch)
treec82c1178818af1784f51361d32f9b6fd3e3d1649 /desktop/win32/source/applauncher/launcher.cxx
parent1724e0909f2da07ea83fb1bace8136850df513e1 (diff)
INTEGRATION: CWS mingwport05 (1.6.44); FILE MERGED
2007/06/25 11:42:42 vg 1.6.44.1: #78270# MinGW port efforts
Diffstat (limited to 'desktop/win32/source/applauncher/launcher.cxx')
-rw-r--r--desktop/win32/source/applauncher/launcher.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/win32/source/applauncher/launcher.cxx b/desktop/win32/source/applauncher/launcher.cxx
index 06f565c39dd7..8a69a1d94ff6 100644
--- a/desktop/win32/source/applauncher/launcher.cxx
+++ b/desktop/win32/source/applauncher/launcher.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: launcher.cxx,v $
*
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
- * last change: $Author: hr $ $Date: 2007-06-27 17:55:43 $
+ * last change: $Author: obo $ $Date: 2007-07-17 07:28:12 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -56,7 +56,11 @@
#include <malloc.h>
+#ifdef __MINGW32__
+extern "C" int APIENTRY WinMain( HINSTANCE, HINSTANCE, LPSTR, int )
+#else
extern "C" int APIENTRY _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int )
+#endif
{
// Retreive startup info