krnl386: Use nameless unions/structs.

This commit is contained in:
Alexandre Julliard 2023-07-18 19:56:11 +02:00
parent f5c4ae7c10
commit 7a82d78b17
3 changed files with 3 additions and 6 deletions

View file

@ -25,7 +25,6 @@
#include "ntstatus.h"
#define WIN32_NO_STATUS
#define NONAMELESSUNION
#include "wine/winbase16.h"
#include "wine/debug.h"
#include "winternl.h"

View file

@ -27,7 +27,6 @@
* parameter than usual.
*/
#define NONAMELESSUNION
#include <stdlib.h>
#include <string.h>
#include "wine/winbase16.h"
@ -2160,9 +2159,9 @@ BOOL16 WINAPI Local32Info16( LOCAL32INFO *pLocal32Info, HGLOBAL16 handle )
{
if (entry.wFlags & PROCESS_HEAP_REGION)
{
pLocal32Info->dwMemReserved += entry.u.Region.dwCommittedSize
+ entry.u.Region.dwUnCommittedSize;
pLocal32Info->dwMemCommitted = entry.u.Region.dwCommittedSize;
pLocal32Info->dwMemReserved += entry.Region.dwCommittedSize
+ entry.Region.dwUnCommittedSize;
pLocal32Info->dwMemCommitted = entry.Region.dwCommittedSize;
}
else if (!(entry.wFlags & PROCESS_HEAP_ENTRY_BUSY))
{

View file

@ -27,7 +27,6 @@
#include "ntstatus.h"
#define WIN32_NO_STATUS
#define NONAMELESSUNION
#include "windef.h"
#include "winbase.h"
#include "winerror.h"