litex/software/include/base/limits.h

19 lines
294 B
C

#ifndef __LIMITS_H
#define __LIMITS_H
#define ULONG_MAX 0xffffffff
#define UINT_MAX 0xffffffff
#define INT_MIN 0x80000000
#define INT_MAX 0x7fffffff
#define USHRT_MAX 0xffff
#define SHRT_MIN 0x8000
#define SHRT_MAX 0x7fff
#define UCHAR_MAX 0xff
#define CHAR_BIT 8
#endif /* __LIMITS_H */