diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-06-25 07:05:13 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-06-25 07:05:13 +0000 |
commit | 6b685f8b2885e7347c9c9eb4c724ebf00bc03eeb (patch) | |
tree | c78f9eb70e227aea8b7adbb0f55e15e61651227a /shell | |
parent | f34e840db7249d89faad24750d8cd05ae702447e (diff) | |
download | busybox-w32-6b685f8b2885e7347c9c9eb4c724ebf00bc03eeb.tar.gz busybox-w32-6b685f8b2885e7347c9c9eb4c724ebf00bc03eeb.tar.bz2 busybox-w32-6b685f8b2885e7347c9c9eb4c724ebf00bc03eeb.zip |
Fix compile error when math support disabled.
git-svn-id: svn://busybox.net/trunk/busybox@8925 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 0f951e84d..da78965ea 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -1445,12 +1445,13 @@ static void changepath(const char *); | |||
1445 | static void defun(char *, union node *); | 1445 | static void defun(char *, union node *); |
1446 | static void unsetfunc(const char *); | 1446 | static void unsetfunc(const char *); |
1447 | 1447 | ||
1448 | #ifdef CONFIG_ASH_MATH_SUPPORT | ||
1449 | #ifdef CONFIG_ASH_MATH_SUPPORT_64 | 1448 | #ifdef CONFIG_ASH_MATH_SUPPORT_64 |
1450 | typedef int64_t arith_t; | 1449 | typedef int64_t arith_t; |
1451 | #else | 1450 | #else |
1452 | typedef long arith_t; | 1451 | typedef long arith_t; |
1453 | #endif | 1452 | #endif |
1453 | |||
1454 | #ifdef CONFIG_ASH_MATH_SUPPORT | ||
1454 | static arith_t dash_arith(const char *); | 1455 | static arith_t dash_arith(const char *); |
1455 | static arith_t arith(const char *expr, int *perrcode); | 1456 | static arith_t arith(const char *expr, int *perrcode); |
1456 | #endif | 1457 | #endif |