[x86/Linux] Fix unknown type name 'ExInfo' (dotnet/coreclr#8274)
authorSaeHie Park <saehie.park@gmail.com>
Wed, 23 Nov 2016 10:12:18 +0000 (19:12 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Wed, 23 Nov 2016 10:12:18 +0000 (11:12 +0100)
Fix compile error for x86/Linux
- need to undefine ELIMINATE_FEF by adding !defined(FEATURE_PAL)

Commit migrated from https://github.com/dotnet/coreclr/commit/4d10630a7de0a7b3d02a910d37834e3534ce5605

src/coreclr/src/vm/stackwalk.h

index 004d673..f8bd519 100644 (file)
@@ -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.