diff options
author | Brandon Creighton <bjc@cvs.openbsd.org> | 2000-04-26 03:08:44 +0000 |
---|---|---|
committer | Brandon Creighton <bjc@cvs.openbsd.org> | 2000-04-26 03:08:44 +0000 |
commit | 45a8a1573c086203341f94a21561004a4cee6da7 (patch) | |
tree | 2123e70519f5f81d6c224cab62a3447af95422c2 /sys/arch/vax/include/limits.h | |
parent | 510a16a02bcefe3e18aa4ea1df737f2cdff509e6 (diff) |
vax resurrection, part 1: sync with early-april netbsd
many changes here, notable: uvm, ansi.h, more (and cleaner) vsbus support
Diffstat (limited to 'sys/arch/vax/include/limits.h')
-rw-r--r-- | sys/arch/vax/include/limits.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/vax/include/limits.h b/sys/arch/vax/include/limits.h index 17e16070968..2566351b37c 100644 --- a/sys/arch/vax/include/limits.h +++ b/sys/arch/vax/include/limits.h @@ -1,5 +1,5 @@ -/* $OpenBSD: limits.h,v 1.5 1998/03/22 21:15:26 millert Exp $ */ -/* $NetBSD: limits.h,v 1.6 1995/12/31 15:05:19 ragge Exp $ */ +/* $OpenBSD: limits.h,v 1.6 2000/04/26 03:08:41 bjc Exp $ */ +/* $NetBSD: limits.h,v 1.9 2000/03/07 19:33:01 kleink Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. @@ -64,6 +64,13 @@ #if !defined(_ANSI_SOURCE) #define SSIZE_MAX INT_MAX /* max value for a ssize_t */ +#if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) || \ + defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L +#define ULLONG_MAX 0xffffffffffffffffULL /* max unsigned long long */ +#define LLONG_MAX 0x7fffffffffffffffLL /* max signed long long */ +#define LLONG_MIN (-0x7fffffffffffffffLL-1) /* min signed long long */ +#endif + #if !defined(_POSIX_SOURCE) && !defined(_XOPEN_SOURCE) #define SIZE_T_MAX UINT_MAX /* max value for a size_t */ |