[ADVAPI32_WINETEST]: Fix compilation with MSVC 2010 (guarded via __REACTOS__).
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 8 Jun 2017 17:04:24 +0000 (17:04 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Thu, 8 Jun 2017 17:04:24 +0000 (17:04 +0000)
svn path=/trunk/; revision=74963

rostests/winetests/advapi32/eventlog.c

index 838454e..be9b467 100644 (file)
@@ -1209,7 +1209,11 @@ static void test_start_trace(void)
     ret = StartTraceA(&handle, sessionname, properties);
     todo_wine
     ok(ret == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", ret);
+#ifndef __REACTOS__
     properties->Wnode.Guid = (GUID){0};
+#else
+    memset(&properties->Wnode.Guid, 0, sizeof(properties->Wnode.Guid));
+#endif
 
     properties->LogFileNameOffset = 0;
     ret = StartTraceA(&handle, sessionname, properties);