diff --git a/src/coreclr/inc/daccess.h b/src/coreclr/inc/daccess.h index 699947a02cdd4..84294970cb421 100644 --- a/src/coreclr/inc/daccess.h +++ b/src/coreclr/inc/daccess.h @@ -2128,7 +2128,10 @@ inline void DACCOP_IGNORE(DacCopWarningCode code, const char * szReasonString) // Declare TADDR as a non-pointer type so that arithmetic // can be done on it directly, as with the DACCESS_COMPILE definition. // This also helps expose pointer usage that may need to be changed. -typedef ULONG_PTR TADDR; +#ifdef FEATURE_NATIVEAOT +typedef uintptr_t TADDR; +typedef uintptr_t* PTR_TADDR; +#endif typedef void* PTR_VOID; typedef LPVOID* PTR_PTR_VOID;