diff options
author | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2018-02-28 17:45:12 -0800 |
---|---|---|
committer | Egor Chesakov <Egor.Chesakov@microsoft.com> | 2018-02-28 17:49:39 -0800 |
commit | 448a91d9437ea94387cda57ebe5fa670dfc9ae14 (patch) | |
tree | dd730133ae393a97079c348b13328240f68b4ffc /src/vm/class.cpp | |
parent | 7493d29441180fa1ffdafd77186f3beebee93515 (diff) | |
download | coreclr-448a91d9437ea94387cda57ebe5fa670dfc9ae14.tar.gz coreclr-448a91d9437ea94387cda57ebe5fa670dfc9ae14.tar.bz2 coreclr-448a91d9437ea94387cda57ebe5fa670dfc9ae14.zip |
Replace ambiguous _WIN64 and BIT64 with _TARGET_64BIT_ macro
Diffstat (limited to 'src/vm/class.cpp')
-rw-r--r-- | src/vm/class.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vm/class.cpp b/src/vm/class.cpp index cd2bbbae47..c3e0637306 100644 --- a/src/vm/class.cpp +++ b/src/vm/class.cpp @@ -991,9 +991,9 @@ CorElementType EEClass::ComputeInternalCorElementTypeForValueType(MethodTable * if (pMT->GetNumInstanceFields() == 1 && (!pMT->HasLayout() || pMT->GetNumInstanceFieldBytes() == 4 -#ifdef _WIN64 +#ifdef _TARGET_64BIT_ || pMT->GetNumInstanceFieldBytes() == 8 -#endif // _WIN64 +#endif // _TARGET_64BIT_ )) // Don't do the optimization if we're getting specified anything but the trivial layout. { FieldDesc * pFD = pMT->GetApproxFieldDescListRaw(); @@ -1025,10 +1025,10 @@ CorElementType EEClass::ComputeInternalCorElementTypeForValueType(MethodTable * case ELEMENT_TYPE_U: case ELEMENT_TYPE_I4: case ELEMENT_TYPE_U4: -#ifdef _WIN64 +#ifdef _TARGET_64BIT_ case ELEMENT_TYPE_I8: case ELEMENT_TYPE_U8: -#endif // _WIN64 +#endif // _TARGET_64BIT_ { return type; |