Commit 4b8dfb01 authored by Simon Marlow's avatar Simon Marlow
Browse files

NetBSD defines _REENTRANT in its header files, so compiling ghc gives

redefinition warnings for all files that are including includes/Rts.h.

Contributed by: Krister Walfridsson <>
parent 141131df
......@@ -51,7 +51,9 @@ extern "C" {
/* Needed to get the macro version of errno on some OSs, and also to
get prototypes for the _r versions of C library functions. */
#ifndef _REENTRANT
#define _REENTRANT 1
* We often want to know the size of something in units of an
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