diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2000-07-31 20:06:05 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2000-07-31 20:06:05 +0000 |
commit | ed55c022eafcf15e5a510f0a946be4c6b3e71e5a (patch) | |
tree | d387140a598c85b999f3aa4b4bd98304d5479b27 /sys/arch/mvme88k | |
parent | 5484bfabe3fe4d9d8c102e440782da9f255f5ed4 (diff) |
Add defines for ULLONG_MAX, LLONG_MAX, and LLONG_MIN in terms of
UQUAD_MAX, QUAD_MAX, and QUAD_MIN respectively.
Diffstat (limited to 'sys/arch/mvme88k')
-rw-r--r-- | sys/arch/mvme88k/include/limits.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/arch/mvme88k/include/limits.h b/sys/arch/mvme88k/include/limits.h index 9a179180f49..b6c7e8908c2 100644 --- a/sys/arch/mvme88k/include/limits.h +++ b/sys/arch/mvme88k/include/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.7 1999/02/09 06:36:26 smurph Exp $ */ +/* $OpenBSD: limits.h,v 1.8 2000/07/31 20:06:03 millert Exp $ */ /* * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ * SUCH DAMAGE. * * from: @(#)limits.h 8.3 (Berkeley) 1/4/94 - * $Id: limits.h,v 1.7 1999/02/09 06:36:26 smurph Exp $ + * $Id: limits.h,v 1.8 2000/07/31 20:06:03 millert Exp $ */ #ifndef _MACHINE_LIMITS_H_ @@ -84,6 +84,9 @@ /* max value for a quad_t */ #define QUAD_MAX ((quad_t)(UQUAD_MAX >> 1)) #define QUAD_MIN (-QUAD_MAX-1) /* min value for a quad_t */ +#define ULLONG_MAX (UQUAD_MAX) /* max value for unsigned long long */ +#define LLONG_MAX (QUAD_MAX) /* max value for a signed long long */ +#define LLONG_MIN (QUAD_MIN) /* min value for a signed long long */ #endif /* !_POSIX_SOURCE */ #endif /* !_ANSI_SOURCE */ |