diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-09 21:18:14 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-09 21:18:14 +0000 |
commit | e071493f4104388966d0428387a540c15a91178f (patch) | |
tree | 70dd023aa0351e319d1b4ef9a5712a64c91e0bfa /misc/sys | |
parent | a962d7dc18f73d075ef0bc4b6e08b05920b49353 (diff) | |
download | glibc-e071493f4104388966d0428387a540c15a91178f.zip glibc-e071493f4104388966d0428387a540c15a91178f.tar.gz glibc-e071493f4104388966d0428387a540c15a91178f.tar.bz2 |
Update.
* misc/sys/cdefs.h: Despite what the gcc manual says, gcc 3.2
seems not to support the nothrow attribute. Use it only for gcc
3.3 and higher.
Diffstat (limited to 'misc/sys')
-rw-r--r-- | misc/sys/cdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 3c53ca7..e89776c 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -42,7 +42,7 @@ gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions as non-throwing using a function attribute since programs can use the -fexceptions options for C code as well. */ -# if !defined __cplusplus && __GNUC_PREREQ (3, 2) +# if !defined __cplusplus && __GNUC_PREREQ (3, 3) # define __THROW __attribute__ ((__nothrow__)) # define __NTH(fct) __attribute__ ((__nothrow__)) fct # else |