diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2017-09-21 17:14:15 +0300 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2017-09-21 17:14:15 +0300 |
commit | 2394767ed3644ae063b7b765e13ca55f28752cec (patch) | |
tree | b6111ab0f3c6dfc2baf1de84dbfdeff56a36aaea /src/Native/Runtime/windows | |
parent | 413c026f2295ab3ef93f16df298b24143caec39d (diff) |
Fix incorrect arm ifdef (#4585)
Everywhere in the native code except for two places, we use
`_TARGET_ARM_` as a define to identify compilation for ARM32.
But at those two places, we use `TARGET_ARM`. This is incorrect since
`TARGET_ARM` is not defined anywhere for CoreRT builds.
This change replaces those two usages by the `_TARGET_ARM_`.
Diffstat (limited to 'src/Native/Runtime/windows')
-rw-r--r-- | src/Native/Runtime/windows/CoffNativeCodeManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Native/Runtime/windows/CoffNativeCodeManager.cpp b/src/Native/Runtime/windows/CoffNativeCodeManager.cpp index 2f8b02781..3abd0b188 100644 --- a/src/Native/Runtime/windows/CoffNativeCodeManager.cpp +++ b/src/Native/Runtime/windows/CoffNativeCodeManager.cpp @@ -149,7 +149,7 @@ static int LookupUnwindInfoForMethod(UInt32 relativePc, int low, int high) { -#ifdef TARGET_ARM +#ifdef _TARGET_ARM_ relativePc |= THUMB_CODE; #endif |