Skip to content

Commit

Permalink
Fix conflicting TADDR definition
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnavara committed Feb 26, 2024
1 parent 8ccb71e commit 2077ab3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/coreclr/inc/daccess.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2077ab3

Please sign in to comment.