diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-13 11:16:08 -0500 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-13 12:37:34 -0500 |
commit | dbc8541b86aee7b6e13e2208545fe625fc13cd7b (patch) | |
tree | 66363a79fd288ed13d187924e311e54514d8a7f9 /apps/opt.c | |
parent | aa1477926769dcdf839f8fccd9db79847899aa86 (diff) | |
download | openssl-dbc8541b86aee7b6e13e2208545fe625fc13cd7b.tar.gz |
For stroimax need C99 inttypes.h
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/opt.c')
-rw-r--r-- | apps/opt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/opt.c b/apps/opt.c index b814d989b2..516b3de01b 100644 --- a/apps/opt.c +++ b/apps/opt.c @@ -75,7 +75,7 @@ static const OPTIONS *unknown; static const OPTIONS *opts; static char prog[40]; -#if !defined(INTMAX_MAX) || !defined(UINTMAX_MAX) +#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L #define opt_imax opt_long #define opt_umax opt_ulong #endif @@ -397,7 +397,7 @@ int opt_long(const char *value, long *result) return 1; } -#if defined(INTMAX_MAX) && defined(UINTMAX_MAX) +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* Parse an intmax_t, put it into *result; return 0 on failure, else 1. */ int opt_imax(const char *value, intmax_t *result) |