Module Name:    src
Committed By:   tnozaki
Date:           Sat May 22 17:47:25 UTC 2010

Modified Files:
        src/lib/libc/locale: runetype_local.h

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/locale/runetype_local.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/locale/runetype_local.h
diff -u src/lib/libc/locale/runetype_local.h:1.6 src/lib/libc/locale/runetype_local.h:1.7
--- src/lib/libc/locale/runetype_local.h:1.6	Sat May 22 06:38:15 2010
+++ src/lib/libc/locale/runetype_local.h	Sat May 22 17:47:25 2010
@@ -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

Reply via email to