Francois Gouget : advapi32/tests: Replace an '#if 0' with an 'if (0)'.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Dec 14 14:23:58 CST 2006


Module: wine
Branch: master
Commit: cbec9337e610e0ebeb30024ca97d2ca7f7b5c0e9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cbec9337e610e0ebeb30024ca97d2ca7f7b5c0e9

Author: Francois Gouget <fgouget at free.fr>
Date:   Thu Dec 14 18:10:15 2006 +0100

advapi32/tests: Replace an '#if 0' with an 'if (0)'.

---

 dlls/advapi32/tests/crypt_md4.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/dlls/advapi32/tests/crypt_md4.c b/dlls/advapi32/tests/crypt_md4.c
index f41a778..a114089 100644
--- a/dlls/advapi32/tests/crypt_md4.c
+++ b/dlls/advapi32/tests/crypt_md4.c
@@ -110,11 +110,12 @@ static void test_SystemFunction007(void)
                             0x56, 0xeb, 0x6b, 0x96, 0x55, 0xec, 0xcf, 0x0a };
     WCHAR szFoo[] = {'f','o','o',0 };
 
-#if 0
-    /* crashes */
+    if (0)
+    {
+    /* crashes on Windows */
     r = pSystemFunction007(NULL, NULL);
     ok( r == STATUS_UNSUCCESSFUL, "wrong error code\n");
-#endif
+    }
 
     str.Buffer = szFoo;
     str.Length = 4*sizeof(WCHAR);




More information about the wine-cvs mailing list