Commit b4ee9a92 authored by Simon Marlow's avatar Simon Marlow
Browse files

#define _REENTRANT 1 (needed to get the right errno on some OSs)

Partial fix for hanging problems on Solaris and possibly *BSD.
A similar fix is also required to libraries/base/includes/HsBase.h.
parent db6ac78e
......@@ -34,6 +34,10 @@ extern "C" {
#define __MSVCRT__ 1
/* Needed to get the macro version of errno on some OSs, and also to
get prototypes for the _r versions of C library functions. */
#define _REENTRANT 1
* We often want to know the size of something in units of an
* StgWord... (rounded up, of course!)
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