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