[SDK] Fix preprocessor usage

Signed-off-by: Quinn Stephens <quinn@osmora.org>
This commit is contained in:
2025-06-12 14:03:21 -04:00
parent 5c52adf492
commit 5f0a5d0588
18 changed files with 42 additions and 14 deletions

View File

@@ -13,6 +13,8 @@ Abstract:
--*/
#pragma once
#ifndef _GUIDDEF_H
#define _GUIDDEF_H

View File

@@ -13,6 +13,8 @@ Abstract:
--*/
#pragma once
#ifndef _NT_H
#define _NT_H

View File

@@ -13,6 +13,8 @@ Abstract:
--*/
#pragma once
#ifndef _NTDEF_H
#define _NTDEF_H
@@ -144,7 +146,7 @@ typedef UCHAR BOOLEAN;
//
// Numeric pointer types.
//
#ifdef _WIN64
#if defined(_WIN64)
typedef LONGLONG LONG_PTR;
typedef ULONGLONG ULONG_PTR;
#else

View File

@@ -13,6 +13,8 @@ Abstract:
--*/
#pragma once
#ifndef _NTIMAGE_H
#define _NTIMAGE_H

View File

@@ -13,10 +13,12 @@ Abstract:
--*/
#pragma once
#ifndef _NTRTL_H
#define _NTRTL_H
#ifdef __cplusplus
#if defined(__cplusplus)
extern "C" {
#endif
@@ -204,7 +206,7 @@ RtlGUIDFromString (
OUT GUID *Guid
);
#ifdef __cplusplus
#if defined(__cplusplus)
}
#endif

View File

@@ -13,6 +13,8 @@ Abstract:
--*/
#pragma once
#ifndef _NTSTATUS_H
#define _NTSTATUS_H