From 918a8c2ce462cea65e3e7a614f19b4f5ae4ff1e1 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 31 Aug 2015 01:02:57 +0200 Subject: Fix build against glibc 2.21 * Makeconf (CPPFLAGS): Remove -D_IO_MTSAFE_IO. * libthreads/lockfile.c (_IO_MTSAFE_IO): Define macro. (IS_IN): Define macro to 0. --- Makeconf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index ed2f6d0a..b42e4c79 100644 --- a/Makeconf +++ b/Makeconf @@ -77,7 +77,7 @@ INCLUDES += -I.. $(top_srcdirinc) endif INCLUDES += -I$(..)include -I$(top_srcdir)/include CPPFLAGS += $(INCLUDES) \ - -D_GNU_SOURCE -D_IO_MTSAFE_IO -D_FILE_OFFSET_BITS=64 \ + -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 \ $($*-CPPFLAGS) CFLAGS += -std=gnu99 $(gnu89-inline-CFLAGS) -Wall -g -O3 \ $($*-CFLAGS) -- cgit v1.2.3