summaryrefslogtreecommitdiff
path: root/src/inc/corcompile.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inc/corcompile.h')
-rw-r--r--src/inc/corcompile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inc/corcompile.h b/src/inc/corcompile.h
index 967a7713aa..1201a55839 100644
--- a/src/inc/corcompile.h
+++ b/src/inc/corcompile.h
@@ -71,7 +71,7 @@ typedef DPTR(struct CORCOMPILE_VIRTUAL_SECTION_INFO)
typedef DPTR(struct CORCOMPILE_IMPORT_SECTION)
PTR_CORCOMPILE_IMPORT_SECTION;
-#ifdef _TARGET_X86_
+#if defined(_TARGET_X86_) && !defined(FEATURE_PAL)
//
// x86 ABI does not define RUNTIME_FUNCTION. Define our own to allow unification between x86 and other platforms.
//
@@ -87,7 +87,7 @@ typedef DPTR(RUNTIME_FUNCTION) PTR_RUNTIME_FUNCTION;
// Chained unwind info. Used for cold methods.
#define RUNTIME_FUNCTION_INDIRECT 0x80000000
-#endif
+#endif // _TARGET_X86_ && !FEATURE_PAL
// The stride is choosen as maximum value that still gives good page locality of RUNTIME_FUNCTION table touches (only one page of
// RUNTIME_FUNCTION table is going to be touched during most IP2MD lookups).