diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2018-03-02 16:39:36 -0800 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2018-03-02 16:39:36 -0800 |
commit | fef908be21e11f38644b7140f270997c38daba99 (patch) | |
tree | ccb7a3c86535fbe61b603eb67923b29d120cd047 /src/ToolBox | |
parent | fa7465f931caad8823e590277a1a4c44984b1a67 (diff) | |
download | coreclr-fef908be21e11f38644b7140f270997c38daba99.tar.gz coreclr-fef908be21e11f38644b7140f270997c38daba99.tar.bz2 coreclr-fef908be21e11f38644b7140f270997c38daba99.zip |
Use TARGET_POINTER_SIZE macro (#16640)
* Replace sizeof(void*) with TARGET_POINTER_SIZE in TYPEINFO in src/inc/cortypeinfo.h
* Replace sizeof(LPVOID) with TARGET_POINTER_SIZE in DEFINEELEMENTTYPEINFO in src/vm/siginfo.cpp
* Define TARGET_POINTER_SIZE as POINTERSIZE_BYTES in src/ToolBox/SOS/Strike/util.h
Diffstat (limited to 'src/ToolBox')
-rw-r--r-- | src/ToolBox/SOS/Strike/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ToolBox/SOS/Strike/util.h b/src/ToolBox/SOS/Strike/util.h index a6ca86e847..7ffba1cee8 100644 --- a/src/ToolBox/SOS/Strike/util.h +++ b/src/ToolBox/SOS/Strike/util.h @@ -60,6 +60,10 @@ struct IMDInternalImport; #define POINTERSIZE_TYPE "I32" #endif +#ifndef TARGET_POINTER_SIZE +#define TARGET_POINTER_SIZE POINTERSIZE_BYTES +#endif // TARGET_POINTER_SIZE + #if defined(_MSC_VER) #pragma warning(disable:4510 4512 4610) #endif |