From fc0a2d72e5d12276e97f6b581a54561c239872f8 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 29 May 1999 22:56:42 +0000 Subject: Update. 1999-05-27 Andreas Schwab * malloc/malloc.h: Properly handle future GCC versions. 1999-05-27 Andreas Schwab * sysdeps/unix/sysv/linux/configure.in: Change version checks to use AC_EGREP_CPP. Change sed pattern to not use alternation. Fix text of error message. * aclocal.m4 (GLIBC_PROVIDES): Define AC_LANG to `C'. --- malloc/malloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'malloc') diff --git a/malloc/malloc.h b/malloc/malloc.h index a93c77a853..eeb33a2949 100644 --- a/malloc/malloc.h +++ b/malloc/malloc.h @@ -60,7 +60,7 @@ /* GCC can always grok prototypes. For C++ programs we add throw() to help it optimize the function calls. But this works only with gcc 2.8.x and egcs. */ -# if defined __cplusplus && __GNUC_MINOR__ >= 8 +# if defined __cplusplus && (__GNUC__ >= 3 || __GNUC_MINOR__ >= 8) # define __THROW throw () # else # define __THROW -- cgit v1.2.3