svn commit: r232626 - head/lib/libc/locale

Dimitry Andric dim at FreeBSD.org
Tue Mar 6 21:56:30 UTC 2012


Author: dim
Date: Tue Mar  6 21:56:30 2012
New Revision: 232626
URL: http://svn.freebsd.org/changeset/base/232626

Log:
  Fix build of libc.so after r232620.  This caused a duplicate definition
  of __getCurrentRuneLocale().
  
  Pointy hat to:	me

Modified:
  head/lib/libc/locale/nomacros.c

Modified: head/lib/libc/locale/nomacros.c
==============================================================================
--- head/lib/libc/locale/nomacros.c	Tue Mar  6 21:20:16 2012	(r232625)
+++ head/lib/libc/locale/nomacros.c	Tue Mar  6 21:56:30 2012	(r232626)
@@ -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>


More information about the svn-src-all mailing list