Author: hbelusca Date: Thu Jun 8 17:04:24 2017 New Revision: 74963
URL: http://svn.reactos.org/svn/reactos?rev=74963&view=rev Log: [ADVAPI32_WINETEST]: Fix compilation with MSVC 2010 (guarded via __REACTOS__).
Modified: trunk/rostests/winetests/advapi32/eventlog.c
Modified: trunk/rostests/winetests/advapi32/eventlog.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/winetests/advapi32/eventlo... ============================================================================== --- trunk/rostests/winetests/advapi32/eventlog.c [iso-8859-1] (original) +++ trunk/rostests/winetests/advapi32/eventlog.c [iso-8859-1] Thu Jun 8 17:04:24 2017 @@ -1209,7 +1209,11 @@ 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);