xref: /netbsd-src/sys/arch/ia64/include/wchar_limits.h (revision 4ec32c022ea7ec51aa9f484672bd0746091916e9)
1*4ec32c02Smartin /*	$NetBSD: wchar_limits.h,v 1.3 2012/12/27 07:14:24 martin Exp $	*/
2ba7cbe76Scherry 
3ba7cbe76Scherry /*-
4ba7cbe76Scherry  * Copyright (c) 2004 The NetBSD Foundation, Inc.
5ba7cbe76Scherry  * All rights reserved.
6ba7cbe76Scherry  *
7ba7cbe76Scherry  * This code is derived from software contributed to The NetBSD Foundation
8ba7cbe76Scherry  * by Klaus Klein.
9ba7cbe76Scherry  *
10ba7cbe76Scherry  * Redistribution and use in source and binary forms, with or without
11ba7cbe76Scherry  * modification, are permitted provided that the following conditions
12ba7cbe76Scherry  * are met:
13ba7cbe76Scherry  * 1. Redistributions of source code must retain the above copyright
14ba7cbe76Scherry  *    notice, this list of conditions and the following disclaimer.
15ba7cbe76Scherry  * 2. Redistributions in binary form must reproduce the above copyright
16ba7cbe76Scherry  *    notice, this list of conditions and the following disclaimer in the
17ba7cbe76Scherry  *    documentation and/or other materials provided with the distribution.
18ba7cbe76Scherry  *
19ba7cbe76Scherry  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
20ba7cbe76Scherry  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
21ba7cbe76Scherry  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
22ba7cbe76Scherry  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
23ba7cbe76Scherry  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24ba7cbe76Scherry  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25ba7cbe76Scherry  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26ba7cbe76Scherry  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27ba7cbe76Scherry  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28ba7cbe76Scherry  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29ba7cbe76Scherry  * POSSIBILITY OF SUCH DAMAGE.
30ba7cbe76Scherry  */
31ba7cbe76Scherry 
32ba7cbe76Scherry #ifndef _IA64_WCHAR_LIMITS_H_
33ba7cbe76Scherry #define _IA64_WCHAR_LIMITS_H_
34ba7cbe76Scherry 
35*4ec32c02Smartin /*
36*4ec32c02Smartin  * 7.18.3 Limits of other integer types
37*4ec32c02Smartin  */
38*4ec32c02Smartin 
39*4ec32c02Smartin /* limits of wchar_t */
40*4ec32c02Smartin #define	WCHAR_MIN	(-0x7fffffff-1)			/* wchar_t	  */
41*4ec32c02Smartin #define	WCHAR_MAX	0x7fffffff			/* wchar_t	  */
42*4ec32c02Smartin 
43*4ec32c02Smartin /* limits of wint_t */
44*4ec32c02Smartin #define	WINT_MIN	(-0x7fffffff-1)			/* wint_t	  */
45*4ec32c02Smartin #define	WINT_MAX	0x7fffffff			/* wint_t	  */
46*4ec32c02Smartin 
47ba7cbe76Scherry #endif /* !_IA64_WCHAR_LIMITS_H_ */
48