mirror of
https://github.com/openssl/openssl.git
synced 2025-01-19 00:13:33 +08:00
Make opt_imax visible in all apps
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
826e9e5446
commit
ea5e0c1caf
@ -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.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user