From d3d7860572e1d7d17850634bc4c46da23afc98a2 Mon Sep 17 00:00:00 2001 From: Richard Brooksby Date: Mon, 3 Sep 2012 14:48:51 +0100 Subject: Removing unnecessary definition of _reentrant on freebsd. cc -dm -e reveals that this is not set by -pthread, and inspection of headers reveals no effect. checked on freebsd 7 and 9. Copied from Perforce Change: 179201 ServerID: perforce.ravenbrook.com --- mps/code/mpstd.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'mps/code/mpstd.h') diff --git a/mps/code/mpstd.h b/mps/code/mpstd.h index a7b1783edc8..1725639691f 100644 --- a/mps/code/mpstd.h +++ b/mps/code/mpstd.h @@ -234,10 +234,6 @@ #define MPS_WORD_SHIFT 5 #define MPS_PF_ALIGN 4 -/* FIXME: What is this for? Clues at - Discover whether it's still necessary and if so, document why. */ -#define _REENTRANT - #elif defined(__FreeBSD__) && defined (__x86_64__) && defined (__GNUC__) #if defined(CONFIG_PF_STRING) && ! defined(CONFIG_PF_FRI6GC) @@ -254,10 +250,6 @@ #define MPS_WORD_SHIFT 6 #define MPS_PF_ALIGN 8 -/* FIXME: What is this for? Clues at - Discover whether it's still necessary and if so, document why. */ -#define _REENTRANT - #else #error "Unable to detect target platform" -- cgit v1.2.1