diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-01-20 23:00:55 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-01-20 23:00:55 +0000 |
commit | 70d37cb4afa78201a9ec23df6792c64f4078c5a8 (patch) | |
tree | d801ee5cd5e021fee83b05321c68d47d4a34c545 /include | |
parent | 1ad608ee1614eb90e4236a39595be4f28c9c2901 (diff) |
disable deprecated warnings for some files
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/cdefs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/cdefs.h b/include/sys/cdefs.h index eb192cca4..fb53924e9 100644 --- a/include/sys/cdefs.h +++ b/include/sys/cdefs.h @@ -219,7 +219,7 @@ #endif /* gcc allows marking deprecated functions. */ -#if __GNUC_PREREQ (3,2) +#if __GNUC_PREREQ (3,2) && !defined(__UCLIBC_HIDE_DEPRECATED__) # define __attribute_deprecated__ __attribute__ ((__deprecated__)) #else # define __attribute_deprecated__ /* Ignore */ |