aboutsummaryrefslogtreecommitdiff
path: root/shell/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'shell/math.h')
-rw-r--r--shell/math.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/math.h b/shell/math.h
index 90eb49144..a3fe51b6b 100644
--- a/shell/math.h
+++ b/shell/math.h
@@ -66,11 +66,9 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
66#if ENABLE_FEATURE_SH_MATH_64 66#if ENABLE_FEATURE_SH_MATH_64
67typedef long long arith_t; 67typedef long long arith_t;
68#define ARITH_FMT "%"LL_FMT"d" 68#define ARITH_FMT "%"LL_FMT"d"
69#define strto_arith_t strtoull
70#else 69#else
71typedef long arith_t; 70typedef long arith_t;
72#define ARITH_FMT "%ld" 71# define ARITH_FMT "%ld"
73#define strto_arith_t strtoul
74#endif 72#endif
75 73
76typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name); 74typedef const char* FAST_FUNC (*arith_var_lookup_t)(const char *name);