summaryrefslogtreecommitdiff
path: root/desktop/win32/source/officeloader
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2007-03-26 13:31:47 +0000
committerVladimir Glazounov <vg@openoffice.org>2007-03-26 13:31:47 +0000
commit4f4775b61733adfcbbc633dc1347db45db9124ef (patch)
treeb4cf418bbd6c0c7ce6bdff5ec2fa1de3e024ae2a /desktop/win32/source/officeloader
parent8a0a6cfe58ad4ab7b2206c0508a7d56a15fb3e9b (diff)
INTEGRATION: CWS mingwport03 (1.7.92); FILE MERGED
2006/11/07 15:42:43 vg 1.7.92.2: RESYNC: (1.7-1.10); FILE MERGED 2006/09/07 14:55:49 vg 1.7.92.1: #i53572# MinGW port
Diffstat (limited to 'desktop/win32/source/officeloader')
-rw-r--r--desktop/win32/source/officeloader/officeloader.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/desktop/win32/source/officeloader/officeloader.cxx b/desktop/win32/source/officeloader/officeloader.cxx
index 6897cb6ec8f6..93df14b67712 100644
--- a/desktop/win32/source/officeloader/officeloader.cxx
+++ b/desktop/win32/source/officeloader/officeloader.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: officeloader.cxx,v $
*
- * $Revision: 1.10 $
+ * $Revision: 1.11 $
*
- * last change: $Author: obo $ $Date: 2006-10-12 14:19:47 $
+ * last change: $Author: vg $ $Date: 2007-03-26 14:31:47 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -141,7 +141,11 @@ static LPTSTR *GetCommandArgs( int *pArgc )
//---------------------------------------------------------------------------
+#ifdef __MINGW32__
+int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE, LPSTR, int )
+#else
int WINAPI _tWinMain( HINSTANCE, HINSTANCE, LPTSTR, int )
+#endif
{
TCHAR szTargetFileName[MAX_PATH] = TEXT("");
TCHAR szPerfTuneIniFile[MAX_PATH] = TEXT("");