diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-03 21:13:31 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-03 21:13:31 +0000 |
commit | cc8289dc0498d50734770d06601756f7ddc55168 (patch) | |
tree | 4cb2b67a14d5aa6bc4a46cc14cf612d647f00752 /shell/math.h | |
parent | 60b392fd5bd49af2813b3970940e75516bf1e5dd (diff) | |
download | busybox-w32-cc8289dc0498d50734770d06601756f7ddc55168.tar.gz busybox-w32-cc8289dc0498d50734770d06601756f7ddc55168.tar.bz2 busybox-w32-cc8289dc0498d50734770d06601756f7ddc55168.zip |
shell/math: randomconfig fix
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 |