From ea31572bdb1d94d965bc34f57687b86b1030d84f Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Fri, 30 Oct 2009 10:33:43 +0000 Subject: Fall back to INT_MAX as posix stack size in if 12MB are too big for a target (16bit compliance). --- testsuites/psxtests/psxfatal02/testcase.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testsuites/psxtests/psxfatal02/testcase.h b/testsuites/psxtests/psxfatal02/testcase.h index d03b9b2c4f..28acdc7769 100644 --- a/testsuites/psxtests/psxfatal02/testcase.h +++ b/testsuites/psxtests/psxfatal02/testcase.h @@ -14,7 +14,11 @@ #define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE 0 posix_initialization_threads_table POSIX_Initialization_threads[] = { { POSIX_Init, +#if INT_MAX < (12 * 1024 * 1024) + INT_MAX +#else 12 * 1024 * 1024 /* too much stack */ +#endif } }; -- cgit v1.2.3