C99: Provide WCHAR_{MAX,MIN} via <machine/wchar_limits.h> (we'll also

provide WINT_{MAX,MIN} along with it).
Fixes PR standards/24040 from Masao Uebayashi.
This commit is contained in:
kleink 2004-05-08 21:57:05 +00:00
parent a6428a221b
commit c19ffd7809

View File

@ -1,4 +1,4 @@
/* $NetBSD: wchar.h,v 1.19 2003/07/08 05:39:23 itojun Exp $ */ /* $NetBSD: wchar.h,v 1.20 2004/05/08 21:57:05 kleink Exp $ */
/*- /*-
* Copyright (c)1999 Citrus Project, * Copyright (c)1999 Citrus Project,
@ -68,6 +68,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#include <sys/featuretest.h> #include <sys/featuretest.h>
#include <machine/ansi.h> #include <machine/ansi.h>
#include <machine/wchar_limits.h>
#include <sys/null.h> #include <sys/null.h>
#include <stdio.h> /* for FILE* */ #include <stdio.h> /* for FILE* */