[Linux/ARM32] duplicated definition in crosscomp.h (#8729)
authorHyeongseok Oh <hseok82.oh@samsung.com>
Mon, 2 Jan 2017 22:37:42 +0000 (07:37 +0900)
committerJan Vorlicek <janvorli@microsoft.com>
Mon, 2 Jan 2017 22:37:42 +0000 (23:37 +0100)
Some structs in crosscomp.h are already defined in pal.h or palrt.h
Fix to avoid duplicated definition

src/inc/crosscomp.h

index 3d54166..3116fee 100644 (file)
@@ -88,6 +88,7 @@ typedef struct DECLSPEC_ALIGN(8) _T_CONTEXT {
 // each frame function.
 //
 
+#ifndef FEATURE_PAL
 typedef struct _RUNTIME_FUNCTION {
     DWORD BeginAddress;
     DWORD UnwindData;
@@ -114,6 +115,7 @@ typedef struct _UNWIND_HISTORY_TABLE {
     DWORD HighAddress;
     UNWIND_HISTORY_TABLE_ENTRY Entry[UNWIND_HISTORY_TABLE_SIZE];
 } UNWIND_HISTORY_TABLE, *PUNWIND_HISTORY_TABLE;
+#endif // !FEATURE_PAL
 
 
 //