1
0
Fork 0
mirror of synced 2025-03-07 03:53:26 +01:00

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
dlls/krnl386.exe16

View file

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

View file

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

View file

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