diff options
Diffstat (limited to 'ghc/rts/hooks/StackOverflow.c')
-rw-r--r-- | ghc/rts/hooks/StackOverflow.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/ghc/rts/hooks/StackOverflow.c b/ghc/rts/hooks/StackOverflow.c deleted file mode 100644 index a395a3a1a5..0000000000 --- a/ghc/rts/hooks/StackOverflow.c +++ /dev/null @@ -1,16 +0,0 @@ -/* ----------------------------------------------------------------------------- - * - * User-overridable RTS hooks. - * - * ---------------------------------------------------------------------------*/ - -#include "Rts.h" - -#include <stdio.h> - -void -StackOverflowHook (lnat stack_size) /* in bytes */ -{ - fprintf(stderr, "Stack space overflow: current size %ld bytes.\nUse `+RTS -Ksize' to increase it.\n", stack_size); -} - |