From 51c2d48096f8f53583422113508912b3243c48f0 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sun, 20 Oct 2019 09:34:39 +0100 Subject: [PATCH] amiga os 3 does not have strtoull so use strtoul as next best thing --- utils/utils.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/utils.h b/utils/utils.h index 3995071cd..31a86c60e 100644 --- a/utils/utils.h +++ b/utils/utils.h @@ -75,6 +75,10 @@ #define ceilf(x) (float)ceil((double)x) #endif +#if !defined(__amigaos4__) && defined(__AMIGA__) +#define strtoull(n,e,b) (unsigned long long int)strtoul(n,e,b) +#endif + /** * Calculate length of constant C string. *