summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-09-01 17:38:20 +0000
committerEric Andersen <andersen@codepoet.org>2000-09-01 17:38:20 +0000
commit69e291e4078480c133aa435394593e1ac37bc24c (patch)
tree7a07a30409d4876d657413a8958f8f208eb10491 /include
parent5173b6de5bb8ec5ff2e6de7e44fbbf49b55ed7d7 (diff)
Remove __restrict when not supported
-Erik
Diffstat (limited to 'include')
-rw-r--r--include/features.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index b7dfd21c5..f886e0bd6 100644
--- a/include/features.h
+++ b/include/features.h
@@ -9,6 +9,12 @@
#define __UCLIBC_MAJOR__ 9
#define __UCLIBC_MINOR__ 1
+/* __restrict is known in EGCS 1.2 and above. */
+#if !defined __GNUC__ || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ <
+ 92)
+# define __restrict /* Ignore */
+#endif
+
#ifdef __STDC__