shell/math: randomconfig fix

This commit is contained in:
Denis Vlasenko
2009-04-03 21:13:31 +00:00
parent 60b392fd5b
commit cc8289dc04
2 changed files with 4 additions and 6 deletions

View File

@ -76,13 +76,11 @@
#define _SHELL_MATH_
#if ENABLE_SH_MATH_SUPPORT_64
typedef int64_t arith_t;
#define arith_t_type long long
typedef long long arith_t;
#define arith_t_fmt "%lld"
#define strto_arith_t strtoll
#else
typedef long arith_t;
#define arith_t_type long
#define arith_t_fmt "%ld"
#define strto_arith_t strtol
#endif