summaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/features.h')
-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__