summaryrefslogtreecommitdiff
path: root/src/inc
diff options
context:
space:
mode:
authorSaeHie Park <saehie.park@gmail.com>2016-11-23 19:18:43 +0900
committerJan Vorlicek <janvorli@microsoft.com>2016-11-23 11:18:43 +0100
commit2c67c72643b8087924de1f931f47ae95f15dadb5 (patch)
treea4b9ad46e5e9b2ad08a879870d1e31999f2487d6 /src/inc
parent2c6cbd6d9dee4ac4ca5fa4c04c8012262efe0b38 (diff)
downloadcoreclr-2c67c72643b8087924de1f931f47ae95f15dadb5.tar.gz
coreclr-2c67c72643b8087924de1f931f47ae95f15dadb5.tar.bz2
coreclr-2c67c72643b8087924de1f931f47ae95f15dadb5.zip
[x86/linux] Fix redefined DISPATCHER_CONTEXT compile error (#8246)
WIP, fix compile error for x86/Linux - add directive WIN32 to current DISPATCHER_CONTEXT in clrnt.h - add DISPATCHER_CONTEXT for x86 in palrt.h
Diffstat (limited to 'src/inc')
-rw-r--r--src/inc/clrnt.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/inc/clrnt.h b/src/inc/clrnt.h
index c15bd48fa8..a1eefe849e 100644
--- a/src/inc/clrnt.h
+++ b/src/inc/clrnt.h
@@ -835,18 +835,13 @@ RtlVirtualUnwind_Unsafe(
// X86
//
-#if defined(_TARGET_X86_)
-
-#pragma warning(push)
-#pragma warning (disable:4035) // disable 4035 (function must return something)
-#define PcTeb 0x18
-#pragma warning(pop)
+#if defined(_TARGET_X86_) && !defined(FEATURE_PAL)
typedef struct _DISPATCHER_CONTEXT {
_EXCEPTION_REGISTRATION_RECORD* RegistrationPointer;
} DISPATCHER_CONTEXT, *PDISPATCHER_CONTEXT;
-#endif // _TARGET_X86_
+#endif // _TARGET_X86_ && !FEATURE_PAL
#ifdef _TARGET_ARM_
#include "daccess.h"