diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-09-10 21:16:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-09-10 21:16:28 +0000 |
commit | 05f4d5cd08269699c405f190e6f858ec6c079457 (patch) | |
tree | eb331acdb1d22b88cfe4b2833dbe37a954a19e47 /misc/sys/cdefs.h | |
parent | d13a3c579285d877984c5d9b7fa0ceb671b8a812 (diff) | |
download | glibc-05f4d5cd08269699c405f190e6f858ec6c079457.tar.gz glibc-05f4d5cd08269699c405f190e6f858ec6c079457.tar.xz glibc-05f4d5cd08269699c405f190e6f858ec6c079457.zip |
[BZ #377]
Update. * sysdeps/unix/sysv/linux/kernel-features.h: Don't define __ASSUME_CLONE_STOPPED. 2004-09-10 Jakub Jelinek <jakub@redhat.com> * misc/sys/cdefs.h (__REDIRECT_NTH): Change order of __THROW and __asm__ for C++. [BZ #377] 2004-09-10 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'misc/sys/cdefs.h')
-rw-r--r-- | misc/sys/cdefs.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index e89776c2a7..2271e10fdc 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -159,8 +159,13 @@ #if defined __GNUC__ && __GNUC__ >= 2 # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) -# define __REDIRECT_NTH(name, proto, alias) \ +# ifdef __cplusplus +# define __REDIRECT_NTH(name, proto, alias) \ + name proto __THROW __asm__ (__ASMNAME (#alias)) +# else +# define __REDIRECT_NTH(name, proto, alias) \ name proto __asm__ (__ASMNAME (#alias)) __THROW +# endif # define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname) # define __ASMNAME2(prefix, cname) __STRING (prefix) cname |