Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / SLOF / lib / libc / include / limits.h
1 /******************************************************************************
2  * Copyright (c) 2004, 2008 IBM Corporation
3  * All rights reserved.
4  * This program and the accompanying materials
5  * are made available under the terms of the BSD License
6  * which accompanies this distribution, and is available at
7  * http://www.opensource.org/licenses/bsd-license.php
8  *
9  * Contributors:
10  *     IBM Corporation - initial implementation
11  *****************************************************************************/
12
13 #ifndef _LIMITS_H
14 #define _LIMITS_H
15
16 #define         UCHAR_MAX       255
17 #define         SCHAR_MAX       127
18 #define         SCHAR_MIN       (-128)
19
20 #define         USHRT_MAX       65535
21 #define         SHRT_MAX        32767
22 #define         SHRT_MIN        (-32768)
23
24 #define         UINT_MAX        (4294967295U)
25 #define         INT_MAX         2147483647
26 #define         INT_MIN         (-2147483648)
27
28 #define         ULONG_MAX       ((unsigned long)-1L)
29 #define         LONG_MAX        (ULONG_MAX/2)
30 #define         LONG_MIN        ((-LONG_MAX)-1)
31
32 #endif