summaryrefslogtreecommitdiff
path: root/include/sys/cdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/cdefs.h')
-rw-r--r--include/sys/cdefs.h2
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 */