From 30e8b23b45bc2d85febeed1ea333c0e4dbf833f9 Mon Sep 17 00:00:00 2001 From: Gareth Rees Date: Tue, 25 Mar 2014 11:05:09 +0000 Subject: [PATCH] Support for stackprobe on w3i3pc and w3i6pc. Copied from Perforce Change: 184998 ServerID: perforce.ravenbrook.com --- mps/code/config.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/mps/code/config.h b/mps/code/config.h index c785cf7f949..d66487e1684 100644 --- a/mps/code/config.h +++ b/mps/code/config.h @@ -341,12 +341,10 @@ /* Stack configuration */ -/* Currently StackProbe has a useful implementation only on - * Intel platforms and only when using Microsoft build tools (builder.mv) - */ -#if defined(MPS_ARCH_I3) && defined(MPS_BUILD_MV) +/* Currently StackProbe has a useful implementation only on Windows. */ +#if defined(MPS_OS_W3) && defined(MPS_ARCH_I3) #define StackProbeDEPTH ((Size)500) -#elif defined(MPS_PF_W3I6MV) +#elif defined(MPS_OS_W3) && defined(MPS_ARCH_I6) #define StackProbeDEPTH ((Size)500) #else #define StackProbeDEPTH ((Size)0)