mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-28 08:10:25 +08:00
Use proper ifdef for x64 check in winnt.h
This commit is contained in:
parent
712eca44d5
commit
5175b1ad87
@ -1967,7 +1967,7 @@ typedef DWORD LCID;
|
|||||||
PCONTEXT ContextRecord;
|
PCONTEXT ContextRecord;
|
||||||
} EXCEPTION_POINTERS,*PEXCEPTION_POINTERS;
|
} EXCEPTION_POINTERS,*PEXCEPTION_POINTERS;
|
||||||
|
|
||||||
#ifdef __x86_64__
|
#ifdef __x86_64
|
||||||
|
|
||||||
typedef EXCEPTION_DISPOSITION NTAPI EXCEPTION_ROUTINE (struct _EXCEPTION_RECORD *ExceptionRecord, PVOID EstablisherFrame, struct _CONTEXT *ContextRecord, PVOID DispatcherContext);
|
typedef EXCEPTION_DISPOSITION NTAPI EXCEPTION_ROUTINE (struct _EXCEPTION_RECORD *ExceptionRecord, PVOID EstablisherFrame, struct _CONTEXT *ContextRecord, PVOID DispatcherContext);
|
||||||
#ifndef __PEXCEPTION_ROUTINE_DEFINED
|
#ifndef __PEXCEPTION_ROUTINE_DEFINED
|
||||||
@ -2024,7 +2024,7 @@ typedef DWORD LCID;
|
|||||||
PM128A FloatingContext[16];
|
PM128A FloatingContext[16];
|
||||||
PULONG64 IntegerContext[16];
|
PULONG64 IntegerContext[16];
|
||||||
} KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS;
|
} KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS;
|
||||||
#endif /* defined(__x86_64__) */
|
#endif /* defined(__x86_64) */
|
||||||
|
|
||||||
typedef PVOID PACCESS_TOKEN;
|
typedef PVOID PACCESS_TOKEN;
|
||||||
typedef PVOID PSECURITY_DESCRIPTOR;
|
typedef PVOID PSECURITY_DESCRIPTOR;
|
||||||
@ -4937,7 +4937,7 @@ typedef DWORD LCID;
|
|||||||
} IMAGE_COR20_HEADER,*PIMAGE_COR20_HEADER;
|
} IMAGE_COR20_HEADER,*PIMAGE_COR20_HEADER;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined (__x86_64__)
|
#if defined (__x86_64)
|
||||||
NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (DWORD64 ControlPc, PDWORD64 ImageBase, PUNWIND_HISTORY_TABLE HistoryTable);
|
NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (DWORD64 ControlPc, PDWORD64 ImageBase, PUNWIND_HISTORY_TABLE HistoryTable);
|
||||||
NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);
|
NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user