summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/openssl/aps.opt.c.p
blob: 531cf7640a41367d6752287f62eca15ad8d40a41 (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
@@ -353,6 +353,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)
 {