diff options
author | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-13 15:42:06 -0500 |
---|---|---|
committer | Viktor Dukhovni <openssl-users@dukhovni.org> | 2016-01-13 16:12:31 -0500 |
commit | d94a1a706589414f705bb459ec983a722c060236 (patch) | |
tree | 1522784223159ae437a48f932f65f051ec52061c /apps/apps.h | |
parent | 6b95a37833415d8fd1abb85f85e29fb57c05b11c (diff) |
For stro[ui]max require both C99 and UINTMAX_MAX/INTMAX_MAX
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'apps/apps.h')
-rw-r--r-- | apps/apps.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/apps.h b/apps/apps.h index e242414c11..e549e3ff94 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -385,7 +385,8 @@ int opt_format(const char *s, unsigned long flags, int *result); int opt_int(const char *arg, int *result); int opt_ulong(const char *arg, unsigned long *result); int opt_long(const char *arg, long *result); -#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \ + defined(INTMAX_MAX) && defined(UINTMAX_MAX) int opt_imax(const char *arg, intmax_t *result); int opt_umax(const char *arg, uintmax_t *result); #endif |