summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2019-10-20 09:34:39 +0100
committerVincent Sanders <vince@kyllikki.org>2019-10-20 09:34:39 +0100
commit51c2d48096f8f53583422113508912b3243c48f0 (patch)
treef3025af7fcc0d9af9f6efbbc44e4d088bff12a7e /utils
parent69d31afcdeb3851944774ae5c92603b137db1ae7 (diff)
downloadnetsurf-51c2d48096f8f53583422113508912b3243c48f0.tar.gz
netsurf-51c2d48096f8f53583422113508912b3243c48f0.tar.bz2
amiga os 3 does not have strtoull so use strtoul as next best thing
Diffstat (limited to 'utils')
-rw-r--r--utils/utils.h4
1 files changed, 4 insertions, 0 deletions
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.
*