Mike McCormack : ole32: Uncomment some code to make sure it is compiled, but don't run it.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 18 05:13:35 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 64659785de9d351d72147da7b27598b3affd522e
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=64659785de9d351d72147da7b27598b3affd522e

Author: Mike McCormack <mike at codeweavers.com>
Date:   Tue Apr 18 17:18:03 2006 +0900

ole32: Uncomment some code to make sure it is compiled, but don't run it.

---

 dlls/ole32/tests/marshal.c |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c
index 3de88a9..dffff9d 100644
--- a/dlls/ole32/tests/marshal.c
+++ b/dlls/ole32/tests/marshal.c
@@ -1598,18 +1598,15 @@ static void test_WM_QUIT_handling(void)
     }
 }
 
-/* doesn't pass with Win9x COM DLLs (even though Essential COM says it should) */
-#if 0
-
 static HANDLE heventShutdown;
 
-static void LockModuleOOP()
+static void LockModuleOOP(void)
 {
     InterlockedIncrement(&cLocks); /* for test purposes only */
     CoAddRefServerProcess();
 }
 
-static void UnlockModuleOOP()
+static void UnlockModuleOOP(void)
 {
     InterlockedDecrement(&cLocks); /* for test purposes only */
     if (!CoReleaseServerProcess())
@@ -1751,7 +1748,6 @@ static void test_out_of_process_com(void
 
     CloseHandle(heventShutdown);
 }
-#endif
 
 static void test_ROT(void)
 {
@@ -2013,7 +2009,8 @@ START_TEST(marshal)
     test_message_reentrancy();
     test_WM_QUIT_handling();
 
-/*    test_out_of_process_com(); */
+    /* doesn't pass with Win9x COM DLLs (even though Essential COM says it should) */
+    if (0) test_out_of_process_com();
 
     test_ROT();
     /* FIXME: test GIT */




More information about the wine-cvs mailing list