summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-30 10:33:43 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-30 10:33:43 +0000
commitea31572bdb1d94d965bc34f57687b86b1030d84f (patch)
tree75eeb5ea132c531a85833c7924e173b1eae86ee6
parent2009-10-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-ea31572bdb1d94d965bc34f57687b86b1030d84f.tar.bz2
Fall back to INT_MAX as posix stack size in if 12MB are too big for a target (16bit compliance).
-rw-r--r--testsuites/psxtests/psxfatal02/testcase.h4
1 files changed, 4 insertions, 0 deletions
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
}
};