From 995c6a4bedb2097ea3df8878a2e87bbfb9853fac Mon Sep 17 00:00:00 2001 From: dmex Date: Sun, 30 May 2021 18:21:41 +1000 Subject: [PATCH] Fix TEB on x86 Co-Authored-By: namazso --- phnt/include/ntpebteb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phnt/include/ntpebteb.h b/phnt/include/ntpebteb.h index 72aa25a5f..e87e0b1e6 100644 --- a/phnt/include/ntpebteb.h +++ b/phnt/include/ntpebteb.h @@ -317,7 +317,9 @@ typedef struct _TEB #endif BOOLEAN InstrumentationCallbackDisabled; +#ifdef _WIN64 BOOLEAN UnalignedLoadStoreExceptions; +#endif #ifndef _WIN64 UCHAR SpareBytes[23]; ULONG TxFsContext;