History

Use proper ifdef for x64 check in winnt.h

Vlad Vissoultchev committed 10 years ago

Commit 5175b1a1 parent 712eca41 file · +3 −3Browse files

Unified · Split

win32/include/winapi/winnt.h+3−3
@@ -1967,7 +1967,7 @@ typedef DWORD LCID; · 1966 unmodified lines
19671967 PCONTEXT ContextRecord;
19681968 } EXCEPTION_POINTERS,*PEXCEPTION_POINTERS;
19691969
1970−#ifdef __x86_64__
1970+#ifdef __x86_64
19711971
19721972 typedef EXCEPTION_DISPOSITION NTAPI EXCEPTION_ROUTINE (struct _EXCEPTION_RECORD *ExceptionRecord, PVOID EstablisherFrame, struct _CONTEXT *ContextRecord, PVOID DispatcherContext);
19731973 #ifndef __PEXCEPTION_ROUTINE_DEFINED
@@ -2024,7 +2024,7 @@ typedef DWORD LCID; · 50 unmodified lines
20242024 PM128A FloatingContext[16];
20252025 PULONG64 IntegerContext[16];
20262026 } KNONVOLATILE_CONTEXT_POINTERS, *PKNONVOLATILE_CONTEXT_POINTERS;
2027−#endif /* defined(__x86_64__) */
2027+#endif /* defined(__x86_64) */
20282028
20292029 typedef PVOID PACCESS_TOKEN;
20302030 typedef PVOID PSECURITY_DESCRIPTOR;
@@ -4937,7 +4937,7 @@ typedef DWORD LCID; · 2906 unmodified lines
49374937 } IMAGE_COR20_HEADER,*PIMAGE_COR20_HEADER;
49384938 #endif
49394939
4940−#if defined (__x86_64__)
4940+#if defined (__x86_64)
49414941 NTSYSAPI PRUNTIME_FUNCTION NTAPI RtlLookupFunctionEntry (DWORD64 ControlPc, PDWORD64 ImageBase, PUNWIND_HISTORY_TABLE HistoryTable);
49424942 NTSYSAPI VOID NTAPI RtlUnwindEx (PVOID TargetFrame, PVOID TargetIp, PEXCEPTION_RECORD ExceptionRecord, PVOID ReturnValue, PCONTEXT ContextRecord, PUNWIND_HISTORY_TABLE HistoryTable);
49434943 #endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t