krnl386: Use nameless unions/structs.
This commit is contained in:
parent
f5c4ae7c10
commit
7a82d78b17
3 changed files with 3 additions and 6 deletions
|
@ -25,7 +25,6 @@
|
|||
|
||||
#include "ntstatus.h"
|
||||
#define WIN32_NO_STATUS
|
||||
#define NONAMELESSUNION
|
||||
#include "wine/winbase16.h"
|
||||
#include "wine/debug.h"
|
||||
#include "winternl.h"
|
||||
|
|
|
@ -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))
|
||||
{
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
|
||||
#include "ntstatus.h"
|
||||
#define WIN32_NO_STATUS
|
||||
#define NONAMELESSUNION
|
||||
#include "windef.h"
|
||||
#include "winbase.h"
|
||||
#include "winerror.h"
|
||||
|
|
Loading…
Add table
Reference in a new issue