blob: 7c6bab270b36a00e573d2e9bbb63055b4865d582 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- apps/opt.c.orig 2017-11-22 08:42:07.605882648 +0000
+++ apps/opt.c 2017-11-22 08:48:31.712843519 +0000
@@ -374,6 +374,11 @@
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \
defined(INTMAX_MAX) && defined(UINTMAX_MAX)
+#if defined(OPENSSL_SYS_AMIGAOS3) || defined(OPENSSL_SYS_AMIGAOS4)
+# define strtoimax strtol
+# define strtoumax strtoul
+#endif
+
/* Parse an intmax_t, put it into *result; return 0 on failure, else 1. */
int opt_imax(const char *value, intmax_t *result)
{
|