summaryrefslogtreecommitdiff
path: root/src/vm/dataimage.h
diff options
context:
space:
mode:
authorEgor Chesakov <Egor.Chesakov@microsoft.com>2018-02-28 17:45:12 -0800
committerEgor Chesakov <Egor.Chesakov@microsoft.com>2018-02-28 17:49:39 -0800
commit448a91d9437ea94387cda57ebe5fa670dfc9ae14 (patch)
treedd730133ae393a97079c348b13328240f68b4ffc /src/vm/dataimage.h
parent7493d29441180fa1ffdafd77186f3beebee93515 (diff)
downloadcoreclr-448a91d9437ea94387cda57ebe5fa670dfc9ae14.tar.gz
coreclr-448a91d9437ea94387cda57ebe5fa670dfc9ae14.tar.bz2
coreclr-448a91d9437ea94387cda57ebe5fa670dfc9ae14.zip
Replace ambiguous _WIN64 and BIT64 with _TARGET_64BIT_ macro
Diffstat (limited to 'src/vm/dataimage.h')
-rw-r--r--src/vm/dataimage.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vm/dataimage.h b/src/vm/dataimage.h
index 0167ec5762..90f3d4cb97 100644
--- a/src/vm/dataimage.h
+++ b/src/vm/dataimage.h
@@ -17,11 +17,11 @@
typedef BYTE ZapRelocationType; // IMAGE_REL_XXX enum
// IMAGE_REL_BASED_PTR is architecture specific reloc of virtual address
-#ifdef _WIN64
+#ifdef _TARGET_64BIT_
#define IMAGE_REL_BASED_PTR IMAGE_REL_BASED_DIR64
-#else
+#else // !_TARGET_64BIT_
#define IMAGE_REL_BASED_PTR IMAGE_REL_BASED_HIGHLOW
-#endif
+#endif // !_TARGET_64BIT_
// Special NGEN-specific relocation type for relative pointer (used to make NGen relocation section smaller)
#define IMAGE_REL_BASED_RELPTR 0x7D