Commit b1eee04d authored by Ian Lynagh's avatar Ian Lynagh

Build fixes

parent b643fe08
......@@ -34,6 +34,6 @@ defaultsHook (void)
void
StackOverflowHook (lnat stack_size) /* in bytes */
{
fprintf(stderr, "GHC stack-space overflow: current limit is %" FMT_SizeT " bytes.\nUse the `-K<size>' option to increase it.\n", stack_size);
fprintf(stderr, "GHC stack-space overflow: current limit is %zu bytes.\nUse the `-K<size>' option to increase it.\n", stack_size);
}
......@@ -14,6 +14,8 @@
#ifndef RTS_TYPES_H
#define RTS_TYPES_H
#include <stddef.h>
typedef unsigned int nat; /* at least 32 bits (like int) */
typedef size_t lnat; /* at least 32 bits */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment