summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTino Rachui <tra@openoffice.org>2001-02-14 07:53:48 +0000
committerTino Rachui <tra@openoffice.org>2001-02-14 07:53:48 +0000
commit69c1470af53d1b3ff982442fa9110e213d66f97d (patch)
tree5e9e697ed51f5d3898ae6ce3e9c8649c34d0371a
parent0954b27adbb827cb2129e243e7b131366227e093 (diff)
#define _WIN32_DCOM removed and CoInitializeEx from osl_CoInitializeEx removed, we are searching for CoInitializeEx dynamicaly in InitDCOM in dllentry.c
-rw-r--r--sal/osl/w32/thread.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sal/osl/w32/thread.c b/sal/osl/w32/thread.c
index 63984a021493..4bb7edc431b1 100644
--- a/sal/osl/w32/thread.c
+++ b/sal/osl/w32/thread.c
@@ -2,9 +2,9 @@
*
* $RCSfile: thread.c,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hro $ $Date: 2000-12-15 14:24:00 $
+ * last change: $Author: tra $ $Date: 2001-02-14 08:53:48 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,7 +59,6 @@
*
************************************************************************/
-#define _WIN32_DCOM
#include "system.h"
#include <osl/diagnose.h>
@@ -170,11 +169,7 @@ static oslThread oslCreateThread(oslWorkerFunction pWorker,
static HRESULT WINAPI osl_CoInitializeEx(LPVOID pvReserved, DWORD dwCoInit)
{
-#ifdef _WIN32_DCOM // DCOM
- return CoInitializeEx( pvReserved, dwCoInit );
-#else
return CoInitialize( pvReserved );
-#endif
}
/*****************************************************************************/