litex/software/include/base/limits.h

27 lines
363 B
C
Raw Normal View History

#ifndef __LIMITS_H
#define __LIMITS_H
#ifdef __cplusplus
extern "C" {
#endif
2012-06-04 13:41:41 -04:00
#define ULONG_MAX 0xffffffff
#define UINT_MAX 0xffffffff
#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-06-04 13:41:41 -04:00
#define CHAR_BIT 8
#ifdef __cplusplus
}
#endif
#endif /* __LIMITS_H */