提交 ea5e0c1c 编写于 作者: V Viktor Dukhovni

Make opt_imax visible in all apps

Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 826e9e54
......@@ -138,6 +138,15 @@
# define openssl_fdset(a,b) FD_SET(a, b)
# endif
# if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
defined(INTMAX_MAX) && defined(UINTMAX_MAX)
int opt_imax(const char *value, intmax_t *result);
int opt_umax(const char *value, uintmax_t *result);
# else
# define opt_imax opt_long
# define opt_umax opt_ulong
# endif
int app_RAND_load_file(const char *file, int dont_warn);
int app_RAND_write_file(const char *file);
/*
......
......@@ -75,12 +75,6 @@ static const OPTIONS *unknown;
static const OPTIONS *opts;
static char prog[40];
#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 199901L || \
!defined(INTMAX_MAX) && !defined(UINTMAX_MAX)
#define opt_imax opt_long
#define opt_umax opt_ulong
#endif
/*
* Return the simple name of the program; removing various platform gunk.
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册