2012-02-03 06:08:17 -05:00
|
|
|
#ifndef __LIMITS_H
|
|
|
|
#define __LIMITS_H
|
|
|
|
|
2013-03-25 09:38:58 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2012-06-04 13:41:41 -04:00
|
|
|
#define ULONG_MAX 0xffffffff
|
|
|
|
|
|
|
|
#define UINT_MAX 0xffffffff
|
2012-05-28 13:32:38 -04:00
|
|
|
#define INT_MIN 0x80000000
|
|
|
|
#define INT_MAX 0x7fffffff
|
2012-05-25 16:29:37 -04:00
|
|
|
|
2012-06-04 13:41:41 -04:00
|
|
|
#define USHRT_MAX 0xffff
|
2012-05-25 16:29:37 -04:00
|
|
|
#define SHRT_MIN 0x8000
|
|
|
|
#define SHRT_MAX 0x7fff
|
|
|
|
|
|
|
|
#define UCHAR_MAX 0xff
|
2012-02-03 06:08:17 -05:00
|
|
|
|
2012-06-04 13:41:41 -04:00
|
|
|
#define CHAR_BIT 8
|
|
|
|
|
2013-03-25 09:38:58 -04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
2012-02-03 06:08:17 -05:00
|
|
|
#endif /* __LIMITS_H */
|