summaryrefslogtreecommitdiff
path: root/src/vm/stackwalk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm/stackwalk.h')
-rw-r--r--src/vm/stackwalk.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/stackwalk.h b/src/vm/stackwalk.h
index 004d673a2a..f8bd519106 100644
--- a/src/vm/stackwalk.h
+++ b/src/vm/stackwalk.h
@@ -36,14 +36,14 @@ class AppDomain;
// on the stack. The FEF is used for unwinding. If not defined, the unwinding
// uses the exception context.
#define USE_FEF // to mark where code needs to be changed to eliminate the FEF
-#if defined(_TARGET_X86_)
+#if defined(_TARGET_X86_) && !defined(FEATURE_PAL)
#undef USE_FEF // Turn off the FEF use on x86.
#define ELIMINATE_FEF
#else
#if defined(ELIMINATE_FEF)
#undef ELIMINATE_FEF
#endif
-#endif // _86_
+#endif // _TARGET_X86_ && !FEATURE_PAL
//************************************************************************
// Enumerate all functions.