Module Name:    src
Committed By:   joerg
Date:           Thu Feb 21 16:21:20 UTC 2013

Modified Files:
        src/lib/libc/gen: vis.c

Log Message:
No ctassert in tool build


To generate a diff of this commit:
cvs rdiff -u -r1.59 -r1.60 src/lib/libc/gen/vis.c

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/gen/vis.c
diff -u src/lib/libc/gen/vis.c:1.59 src/lib/libc/gen/vis.c:1.60
--- src/lib/libc/gen/vis.c:1.59	Wed Feb 20 20:27:42 2013
+++ src/lib/libc/gen/vis.c	Thu Feb 21 16:21:20 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: vis.c,v 1.59 2013/02/20 20:27:42 christos Exp $	*/
+/*	$NetBSD: vis.c,v 1.60 2013/02/21 16:21:20 joerg Exp $	*/
 
 /*-
  * Copyright (c) 1989, 1993
@@ -57,7 +57,7 @@
 
 #include <sys/cdefs.h>
 #if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: vis.c,v 1.59 2013/02/20 20:27:42 christos Exp $");
+__RCSID("$NetBSD: vis.c,v 1.60 2013/02/21 16:21:20 joerg Exp $");
 #endif /* LIBC_SCCS and not lint */
 #ifdef __FBSDID
 __FBSDID("$FreeBSD$");
@@ -106,6 +106,7 @@ static wchar_t *do_svis(wchar_t *, wint_
 
 #define MAXEXTRAS	10
 
+#if !HAVE_NBTOOL_CONFIG_H
 #ifndef __NetBSD__
 /*
  * On NetBSD MB_LEN_MAX is currently 32 which does not fit on any integer
@@ -127,6 +128,7 @@ static wchar_t *do_svis(wchar_t *, wint_
 #endif /* __FreeBSD__ */
 CTASSERT(MB_LEN_MAX <= sizeof(uint64_t));
 #endif /* !__NetBSD__ */
+#endif
 
 /*
  * This is do_hvis, for HTTP style (RFC 1808)

Reply via email to