Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
#ifndef __HACKED_LIMITS_INCLUDED
2
#define __HACKED_LIMITS_INCLUDED
3
 
4
#include_next <limits.h>
5
 
6
/* Redefine these without overflow */
7
#ifdef INT_MIN
8
#undef INT_MIN
9
#undef LONG_MIN
10
#undef SCHAR_MIN
11
#undef SHRT_MIN
12
#define INT_MIN		(-INT_MAX - 1)
13
#define LONG_MIN	INT_MIN
14
#define SCHAR_MIN	(-SCHAR_MAX - 1)
15
#define SHRT_MIN	(-SHRT_MAX - 1)
16
#endif
17
 
18
#endif