summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/features.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2013-04-22 10:28:05 +0000
committerCorinna Vinschen <corinna@vinschen.de>2013-04-22 10:28:05 +0000
commit9770af188f1ba68b1b11ff9e88b7d4fcd23c5fc3 (patch)
tree004617cbf837c7faa443c0fca32ec1e5d743a447 /newlib/libc/include/sys/features.h
parentfc1ff1150c5ef1fe68d76bbbf04637e228be36b3 (diff)
downloadcygnal-9770af188f1ba68b1b11ff9e88b7d4fcd23c5fc3.tar.gz
cygnal-9770af188f1ba68b1b11ff9e88b7d4fcd23c5fc3.tar.bz2
cygnal-9770af188f1ba68b1b11ff9e88b7d4fcd23c5fc3.zip
* libc/include/sys/cdefs.h: Align with latest FreeBSD file header.
* libc/include/sys/features.h (__GNUC_PREREQ__): Define.
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r--newlib/libc/include/sys/features.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index f150706db..b5e003b5f 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -34,6 +34,8 @@ extern "C" {
# define __GNUC_PREREQ(maj, min) 0
# endif
#endif /* __GNUC_PREREQ */
+/* Version with trailing underscores for BSD compatibility. */
+#define __GNUC_PREREQ__(ma, mi) __GNUC_PREREQ(ma, mi)
/* RTEMS adheres to POSIX -- 1003.1b with some features from annexes. */