Define the {QUAD,UQUAD}_{MIN,MAX} things here.
This commit is contained in:
parent
3e82c91c58
commit
9b363afc2d
|
@ -31,7 +31,7 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)limits.h 7.2 (Berkeley) 6/28/90
|
||||
* $Id: limits.h,v 1.1 1993/10/10 11:18:07 deraadt Exp $
|
||||
* $Id: limits.h,v 1.2 1993/10/19 09:03:41 deraadt Exp $
|
||||
*/
|
||||
|
||||
#define CHAR_BIT 8 /* number of bits in a char */
|
||||
|
@ -55,3 +55,10 @@
|
|||
#define ULONG_MAX 0xffffffff /* max value for an unsigned long */
|
||||
#define LONG_MAX 0x7fffffff /* max value for a long */
|
||||
#define LONG_MIN 0x80000000 /* min value for a long */
|
||||
|
||||
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
|
||||
#define UQUAD_MAX 0xffffffffffffffffLL /* max unsigned quad */
|
||||
#define QUAD_MAX 0x7fffffffffffffffLL /* max signed quad */
|
||||
#define QUAD_MIN (-0x7fffffffffffffffLL-1) /* min signed quad */
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue