From 190fbb00f1d3f541441ee0bc6f220ee9eff5e64a Mon Sep 17 00:00:00 2001 From: namazso Date: Sun, 30 May 2021 01:06:26 +0200 Subject: [PATCH] Fix TEB on x86 (#13) --- ntpebteb.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ntpebteb.h b/ntpebteb.h index 8c8ef31..1b44549 100644 --- a/ntpebteb.h +++ b/ntpebteb.h @@ -308,7 +308,9 @@ typedef struct _TEB #endif BOOLEAN InstrumentationCallbackDisabled; +#ifdef _WIN64 BOOLEAN UnalignedLoadStoreExceptions; +#endif #ifndef _WIN64 UCHAR SpareBytes[23]; ULONG TxFsContext;