summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2012-03-06 21:56:30 +0000
committerdim <dim@FreeBSD.org>2012-03-06 21:56:30 +0000
commitd62ff6ee49fcd6b033a01d5a0b067d865c4c4fc8 (patch)
treee982f6d5c62e38ac8cc63d628f1f152e2e357ef5 /lib/libc/locale
parent2960bf1153624ff5f817f866e4b2a91c057a7bf4 (diff)
downloadFreeBSD-src-d62ff6ee49fcd6b033a01d5a0b067d865c4c4fc8.zip
FreeBSD-src-d62ff6ee49fcd6b033a01d5a0b067d865c4c4fc8.tar.gz
Fix build of libc.so after r232620. This caused a duplicate definition
of __getCurrentRuneLocale(). Pointy hat to: me
Diffstat (limited to 'lib/libc/locale')
-rw-r--r--lib/libc/locale/nomacros.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/locale/nomacros.c b/lib/libc/locale/nomacros.c
index ba49a1f..66cf40e 100644
--- a/lib/libc/locale/nomacros.c
+++ b/lib/libc/locale/nomacros.c
@@ -9,4 +9,10 @@ __FBSDID("$FreeBSD$");
*/
#define _EXTERNALIZE_CTYPE_INLINES_
+/*
+ * Also make sure <runetype.h> does not generate an inline definition
+ * of __getCurrentRuneLocale().
+ */
+#define __RUNETYPE_INTERNAL
+
#include <ctype.h>
OpenPOWER on IntegriCloud