For stroimax need C99 inttypes.h
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user