Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/locale fix cross build breakage under linux box, re...



details:   https://anonhg.NetBSD.org/src/rev/52f1ce5f39ac
branches:  trunk
changeset: 755098:52f1ce5f39ac
user:      tnozaki <tnozaki%NetBSD.org@localhost>
date:      Sat May 22 17:47:25 2010 +0000

description:
fix cross build breakage under linux box, reported by Andreas Gustafsson, thanks!

runetype_local.h: don't include ctype_local.h when toolchain build.

diffstat:

 lib/libc/locale/runetype_local.h |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r f62881b0a274 -r 52f1ce5f39ac lib/libc/locale/runetype_local.h
--- a/lib/libc/locale/runetype_local.h  Sat May 22 17:43:29 2010 +0000
+++ b/lib/libc/locale/runetype_local.h  Sat May 22 17:47:25 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: runetype_local.h,v 1.6 2010/05/22 06:38:15 tnozaki Exp $       */
+/*     $NetBSD: runetype_local.h,v 1.7 2010/05/22 17:47:25 tnozaki Exp $       */
 
 /*-
  * Copyright (c) 1993
@@ -39,7 +39,12 @@
 
 #include <sys/cdefs.h>
 #include <sys/types.h>
+
+#ifdef HAVE_NBTOOL_CONFIG_H
+#define _CTYPE_CACHE_SIZE      (1 << 8)
+#else
 #include "ctype_local.h"
+#endif
 
 /* for cross host tools on older systems */
 #ifndef UINT32_C



Home | Main Index | Thread Index | Old Index