diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-19 21:04:15 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-19 21:04:15 +0000 |
commit | aebf0c050a8598c864dda377b4fadb79225d34ca (patch) | |
tree | f67c89bb2536f64c390654810b1aa1b95ae0a11e /include/sys/cdefs.h | |
parent | 6f728cdcf296054020c8606cb8cb841d84a64245 (diff) | |
download | uClibc-alpine-aebf0c050a8598c864dda377b4fadb79225d34ca.tar.bz2 uClibc-alpine-aebf0c050a8598c864dda377b4fadb79225d34ca.tar.xz |
Sync up with trunk.
Diffstat (limited to 'include/sys/cdefs.h')
-rw-r--r-- | include/sys/cdefs.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h index 0a6d345bc..eb192cca4 100644 --- a/include/sys/cdefs.h +++ b/include/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 0 //!defined __cplusplus && __GNUC_PREREQ (3, 3) +# if !defined __cplusplus && __GNUC_PREREQ (3, 3) # define __THROW __attribute__ ((__nothrow__)) # define __NTH(fct) __attribute__ ((__nothrow__)) fct # else @@ -164,8 +164,6 @@ #if defined __GNUC__ && __GNUC__ >= 2 # define __REDIRECT(name, proto, alias) name proto __asm__ (__ASMNAME (#alias)) -# define __ASMNAME(cname) __C_SYMBOL_PREFIX__ cname -/* # ifdef __cplusplus # define __REDIRECT_NTH(name, proto, alias) \ name proto __THROW __asm__ (__ASMNAME (#alias)) @@ -175,7 +173,6 @@ # endif # define __ASMNAME(cname) __ASMNAME2 (__USER_LABEL_PREFIX__, cname) # define __ASMNAME2(prefix, cname) __STRING (prefix) cname -*/ /* #elif __SOME_OTHER_COMPILER__ |