summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-06-23 09:38:53 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2020-06-23 09:38:53 +0200
commitd206b1651ac4dc4db1d9bbd172a81da0568b42e8 (patch)
tree8dd761271f8c47e4897953779918113affc1f473 /include
parent03ab212bff0fa7f51c0f75ee4be5db67184e41a2 (diff)
randomconfig fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/platform.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/platform.h b/include/platform.h
index 50365a31c..43bb391bd 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -30,6 +30,10 @@
# endif
#endif
+#if !__GNUC_PREREQ(5,0)
+# define deprecated(msg) deprecated
+#endif
+
#undef inline
#if defined(__STDC_VERSION__) && __STDC_VERSION__ > 199901L
/* it's a keyword */