From 5175b1ad87d90857a05cbec3a3a307bf61578e1d Mon Sep 17 00:00:00 2001 From: Vlad Vissoultchev Date: Mon, 14 Mar 2016 18:07:38 +0200 Subject: [PATCH] Use proper ifdef for x64 check in winnt.h --- win32/include/winapi/winnt.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/include/winapi/winnt.h b/win32/include/winapi/winnt.h index 5754253..348d9a8 100644 --- a/win32/include/winapi/winnt.h +++ b/win32/include/winapi/winnt.h @@ -1967,7 +1967,7 @@ typedef DWORD LCID; PCONTEXT ContextRecord; } 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); #ifndef __PEXCEPTION_ROUTINE_DEFINED @@ -2024,7 +2024,7 @@ typedef DWORD LCID; PM128A FloatingContext[16]; PULONG64 IntegerContext[16]; } KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS; -#endif /* defined(__x86_64__) */ +#endif /* defined(__x86_64) */ typedef PVOID PACCESS_TOKEN; typedef PVOID PSECURITY_DESCRIPTOR; @@ -4937,7 +4937,7 @@ typedef DWORD LCID; } IMAGE_COR20_HEADER,*PIMAGE_COR20_HEADER; #endif -#if defined (__x86_64__) +#if defined (__x86_64) 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); #endif