(Cherry-pick commits
3bfeb8a,
21b68ca from 'master' branch.)
* tests/test.c (BIG): Remove commented out defined(MSWIN32); define
to 1000 if NO_GETCONTEXT (and UNIX_LIKE); update comment.
return GC_call_with_gc_active(reverse_test_inner, (void*)(word)1);
}
-# if /*defined(MSWIN32) ||*/ defined(MACOS)
- /* Win32S only allows 128K stacks */
+# if defined(MACOS) \
+ || (defined(UNIX_LIKE) && defined(NO_GETCONTEXT)) /* e.g. musl */
+ /* Assume 128K stacks at least. */
# define BIG 1000
# elif defined(PCR)
/* PCR default stack is 100K. Stack frames are up to 120 bytes. */