summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-11 17:02:22 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-11 17:02:22 +0000
commit7faa798bed2130a7cebc49f4c055b9873e19a768 (patch)
treed9b1b4a1102d032198fa805f99f60bba46b67383 /include
parent01b8318aeede4dcf44ec0fc87535110c6e3c12a2 (diff)
newer linux headers define __cast__ in compiler.h so lets fake it too
Diffstat (limited to 'include')
-rw-r--r--include/features.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index d74c7d1c6..0af6bf43b 100644
--- a/include/features.h
+++ b/include/features.h
@@ -417,6 +417,9 @@ uClibc was built without large file support enabled.
#ifndef __LINUX_COMPILER_H
#define __LINUX_COMPILER_H
#endif
+#ifndef __cast__
+#define __cast__(_to)
+#endif
/* Arrange to hide uClibc internals */
#if __GNUC_PREREQ (3, 3)