Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Mar 2012 21:56:30 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r232626 - head/lib/libc/locale
Message-ID:  <201203062156.q26LuUsd059187@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201203062156.q26LuUsd059187>