mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 20:30:01 +00:00
dplayx/tests: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
2c595a1a63
commit
eeb289ef91
@ -64,7 +64,7 @@ static void test_session_guid(LPDIRECTPLAY4 pDP)
|
||||
sessionDesc.dwSize = sizeof( DPSESSIONDESC2 );
|
||||
memcpy(&sessionDesc.guidApplication, &appGuid, 16);
|
||||
sessionDesc.dwFlags = DPSESSION_CLIENTSERVER;
|
||||
sessionDesc.lpszSessionNameA = name;
|
||||
U1(sessionDesc).lpszSessionNameA = name;
|
||||
sessionDesc.dwMaxPlayers = 10;
|
||||
sessionDesc.dwCurrentPlayers = 0;
|
||||
IDirectPlayX_Open(pDP, &sessionDesc, DPOPEN_CREATE);
|
||||
|
Loading…
Reference in New Issue
Block a user