Alex Henrie alexhenrie24@gmail.com writes:
diff --git a/include/winnt.h b/include/winnt.h index a9d718a773..eac496c836 100644 --- a/include/winnt.h +++ b/include/winnt.h @@ -997,6 +997,13 @@ typedef struct _LDT_ENTRY { } HighWord; } LDT_ENTRY, *PLDT_ENTRY;
+typedef struct _RUNTIME_FUNCTION +{
- DWORD BeginAddress;
- DWORD EndAddress;
- DWORD UnwindData;
+} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION;
/* x86-64 context definitions */ #if defined(__x86_64__)
@@ -1125,13 +1132,6 @@ typedef struct DECLSPEC_ALIGN(16) _CONTEXT { DWORD64 LastExceptionFromRip; /* 4c8 */ } CONTEXT;
-typedef struct _RUNTIME_FUNCTION -{
- DWORD BeginAddress;
- DWORD EndAddress;
- DWORD UnwindData;
-} RUNTIME_FUNCTION, *PRUNTIME_FUNCTION;
This is wrong and will most likely break the build on ARM platforms. Function tables are not used on i386.