about summary refs log tree commit diff
path: root/malloc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-05-29 22:56:42 +0000
committerUlrich Drepper <drepper@redhat.com>1999-05-29 22:56:42 +0000
commitfc0a2d72e5d12276e97f6b581a54561c239872f8 (patch)
tree273b00ac047ec609aa1199b7ca34f893751e5885 /malloc
parentfb97136391ea0e5a1774c830a7bf08ef004d9d66 (diff)
downloadglibc-fc0a2d72e5d12276e97f6b581a54561c239872f8.tar.gz
glibc-fc0a2d72e5d12276e97f6b581a54561c239872f8.tar.xz
glibc-fc0a2d72e5d12276e97f6b581a54561c239872f8.zip
Update.
1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* malloc/malloc.h: Properly handle future GCC versions.

1999-05-27  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>

	* 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'.
Diffstat (limited to 'malloc')
-rw-r--r--malloc/malloc.h2
1 files changed, 1 insertions, 1 deletions
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