Fall back to INT_MAX as posix stack size in if 12MB are too big for a target (16bit compliance).

This commit is contained in:
Ralf Corsepius
2009-10-30 10:33:43 +00:00
parent 2f91b2ed11
commit ea31572bdb

View File

@@ -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
}
};