diff options
Diffstat (limited to 'shell/math.h')
-rw-r--r-- | shell/math.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/math.h b/shell/math.h index a52680923..195fc20ba 100644 --- a/shell/math.h +++ b/shell/math.h | |||
@@ -76,13 +76,11 @@ | |||
76 | #define _SHELL_MATH_ | 76 | #define _SHELL_MATH_ |
77 | 77 | ||
78 | #if ENABLE_SH_MATH_SUPPORT_64 | 78 | #if ENABLE_SH_MATH_SUPPORT_64 |
79 | typedef int64_t arith_t; | 79 | typedef long long arith_t; |
80 | #define arith_t_type long long | ||
81 | #define arith_t_fmt "%lld" | 80 | #define arith_t_fmt "%lld" |
82 | #define strto_arith_t strtoll | 81 | #define strto_arith_t strtoll |
83 | #else | 82 | #else |
84 | typedef long arith_t; | 83 | typedef long arith_t; |
85 | #define arith_t_type long | ||
86 | #define arith_t_fmt "%ld" | 84 | #define arith_t_fmt "%ld" |
87 | #define strto_arith_t strtol | 85 | #define strto_arith_t strtol |
88 | #endif | 86 | #endif |