Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-06-23 20:42:43 +0300
committerGitHub <noreply@github.com>2016-06-23 20:42:43 +0300
commit99841b9c6fab5c2c2afd01b56503243e466d6820 (patch)
tree318f27243a66de26f86c197ed1b08b8df87908f6 /src/Native/Runtime/PalRedhawk.h
parent273979c0046fb5af2675a3da5e4090c66bab7bff (diff)
Fix NULL_AREA_SIZE for Unix (#1425)
Diffstat (limited to 'src/Native/Runtime/PalRedhawk.h')
-rw-r--r--src/Native/Runtime/PalRedhawk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Native/Runtime/PalRedhawk.h b/src/Native/Runtime/PalRedhawk.h
index 8124bb9b8..85be27aec 100644
--- a/src/Native/Runtime/PalRedhawk.h
+++ b/src/Native/Runtime/PalRedhawk.h
@@ -502,7 +502,11 @@ typedef enum _EXCEPTION_DISPOSITION {
#define STATUS_STACK_OVERFLOW ((UInt32 )0xC00000FDL)
#define STATUS_REDHAWK_NULL_REFERENCE ((UInt32 )0x00000000L)
+#ifdef PLATFORM_UNIX
+#define NULL_AREA_SIZE (4*1024)
+#else
#define NULL_AREA_SIZE (64*1024)
+#endif
#define GetExceptionCode _exception_code
#define GetExceptionInformation (struct _EXCEPTION_POINTERS *)_exception_info