diff options
Diffstat (limited to 'sdk/recipes/patches/openssl/aps.opt.c.p')
-rw-r--r-- | sdk/recipes/patches/openssl/aps.opt.c.p | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sdk/recipes/patches/openssl/aps.opt.c.p b/sdk/recipes/patches/openssl/aps.opt.c.p new file mode 100644 index 0000000..531cf76 --- /dev/null +++ b/sdk/recipes/patches/openssl/aps.opt.c.p @@ -0,0 +1,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) + { |