diff options
Diffstat (limited to 'coreutils/expr.c')
| -rw-r--r-- | coreutils/expr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/coreutils/expr.c b/coreutils/expr.c index 47ebe2fca..c00559e4c 100644 --- a/coreutils/expr.c +++ b/coreutils/expr.c | |||
| @@ -84,7 +84,7 @@ | |||
| 84 | #if ENABLE_EXPR_MATH_SUPPORT_64 | 84 | #if ENABLE_EXPR_MATH_SUPPORT_64 |
| 85 | typedef int64_t arith_t; | 85 | typedef int64_t arith_t; |
| 86 | 86 | ||
| 87 | #define PF_REZ "ll" | 87 | #define PF_REZ LL_FMT |
| 88 | #define PF_REZ_TYPE (long long) | 88 | #define PF_REZ_TYPE (long long) |
| 89 | #define STRTOL(s, e, b) strtoll(s, e, b) | 89 | #define STRTOL(s, e, b) strtoll(s, e, b) |
| 90 | #else | 90 | #else |
| @@ -97,6 +97,10 @@ typedef long arith_t; | |||
| 97 | 97 | ||
| 98 | /* TODO: use bb_strtol[l]? It's easier to check for errors... */ | 98 | /* TODO: use bb_strtol[l]? It's easier to check for errors... */ |
| 99 | 99 | ||
| 100 | #if ENABLE_PLATFORM_MINGW32 | ||
| 101 | # define STRING BB_STRING | ||
| 102 | #endif | ||
| 103 | |||
| 100 | /* The kinds of value we can have. */ | 104 | /* The kinds of value we can have. */ |
| 101 | enum { | 105 | enum { |
| 102 | INTEGER, | 106 | INTEGER, |
