summaryrefslogtreecommitdiffstats
path: root/libc/include/sys
diff options
context:
space:
mode:
authorDavid 'Digit' Turner <digit@google.com>2010-06-14 17:18:35 -0700
committerDavid 'Digit' Turner <digit@google.com>2010-06-15 07:04:41 -0700
commit3527fd6f0df794207215790321824b7844cc712d (patch)
treebf295d17cdd7dfccd75ec314e02f93d3e1cd125a /libc/include/sys
parentda3019b55305ce51b1b483d8727641e791ce0941 (diff)
downloadbionic-3527fd6f0df794207215790321824b7844cc712d.zip
bionic-3527fd6f0df794207215790321824b7844cc712d.tar.gz
bionic-3527fd6f0df794207215790321824b7844cc712d.tar.bz2
wchar.h: improve wchar_t support in Bionic
Change-Id: Iffd41046fd0933c66542abf7627a1569522dfcb2
Diffstat (limited to 'libc/include/sys')
-rw-r--r--libc/include/sys/cdefs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libc/include/sys/cdefs.h b/libc/include/sys/cdefs.h
index fe7033d..de1dc09 100644
--- a/libc/include/sys/cdefs.h
+++ b/libc/include/sys/cdefs.h
@@ -371,6 +371,14 @@
#define __link_set_entry(set, idx) (__link_set_begin(set)[idx])
+/*
+ * Some of the recend FreeBSD sources used in Bionic need this.
+ * Originally, this is used to embed the rcs versions of each source file
+ * in the generated binary. We certainly don't want this in Bionic.
+ */
+#define __FBSDID(s) struct __hack
+
+
#define __BIONIC__ 1
#endif /* !_SYS_CDEFS_H_ */