diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-11-03 08:43:55 +0100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-11-03 08:43:55 +0100 |
commit | 007e3b357e880caa974d5adf9669298ba0751c78 (patch) | |
tree | 7e9389b5ef4eeef2253ef50a7699c1bf66f31965 /defines.h | |
parent | - (dtucker) [openbsd-compat/setproctitle.c] Handle error case form the 2nd (diff) | |
download | openssh-007e3b357e880caa974d5adf9669298ba0751c78.tar.xz openssh-007e3b357e880caa974d5adf9669298ba0751c78.zip |
- (dtucker) [configure.ac defines.h] Add typedefs for intmax_t and uintmax_t
for platforms that don't have them.
Diffstat (limited to 'defines.h')
-rw-r--r-- | defines.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -25,7 +25,7 @@ #ifndef _DEFINES_H #define _DEFINES_H -/* $Id: defines.h,v 1.172 2013/06/01 21:18:48 dtucker Exp $ */ +/* $Id: defines.h,v 1.173 2013/11/03 07:43:55 dtucker Exp $ */ /* Constants */ @@ -269,6 +269,14 @@ typedef unsigned long long int u_int64_t; # endif #endif +#ifndef HAVE_INTMAX_T +typedef long long intmax_t; +#endif + +#ifndef HAVE_UINTMAX_T +typedef unsigned long long uintmax_t; +#endif + #ifndef HAVE_U_CHAR typedef unsigned char u_char; # define HAVE_U_CHAR |