From c75ccd4c3a84993ea392f23f2cf75f7274e22cc1 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 17 Aug 2012 09:35:15 -0700 Subject: Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. --- wcsmbs/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'wcsmbs/Makefile') diff --git a/wcsmbs/Makefile b/wcsmbs/Makefile index 983fd76f61..7402ec9fd6 100644 --- a/wcsmbs/Makefile +++ b/wcsmbs/Makefile @@ -72,9 +72,8 @@ CFLAGS-isoc99_wscanf.c += $(exceptions) CFLAGS-isoc99_fwscanf.c += $(exceptions) CFLAGS-isoc99_vwscanf.c += $(exceptions) CFLAGS-isoc99_vfwscanf.c += $(exceptions) -ifneq (,$(filter %REENTRANT, $(defines))) -CPPFLAGS += -D_IO_MTSAFE_IO -endif + +CPPFLAGS += $(libio-mtsafe) # We need to find the default version of strtold_l in stdlib. CPPFLAGS-wcstold_l.c = -I../stdlib -- cgit 1.4.1