diff options
| author | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-15 19:39:40 +0000 |
|---|---|---|
| committer | markw <markw@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-03-15 19:39:40 +0000 |
| commit | e377ede02afbefca3b18a09c832c15b8a2be5548 (patch) | |
| tree | 3f7517facb9303d44e99d799a7c7b55fe276ec9b | |
| parent | 46b43d7a0d2a864b67ae5910771e1f613919219f (diff) | |
| download | busybox-w32-e377ede02afbefca3b18a09c832c15b8a2be5548.tar.gz busybox-w32-e377ede02afbefca3b18a09c832c15b8a2be5548.tar.bz2 busybox-w32-e377ede02afbefca3b18a09c832c15b8a2be5548.zip | |
Reversed previous patch. The right way is to fix uClibc.
git-svn-id: svn://busybox.net/trunk/busybox@2100 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -rw-r--r-- | lash.c | 5 | ||||
| -rw-r--r-- | sh.c | 5 | ||||
| -rw-r--r-- | shell/lash.c | 5 |
3 files changed, 0 insertions, 15 deletions
| @@ -65,11 +65,6 @@ | |||
| 65 | #include <unistd.h> | 65 | #include <unistd.h> |
| 66 | #include <getopt.h> | 66 | #include <getopt.h> |
| 67 | 67 | ||
| 68 | // fix compile with uClibc (which does #define index strchr) -andy | ||
| 69 | #ifdef index | ||
| 70 | #undef index | ||
| 71 | #endif | ||
| 72 | |||
| 73 | #undef BB_FEATURE_SH_WORDEXP | 68 | #undef BB_FEATURE_SH_WORDEXP |
| 74 | 69 | ||
| 75 | #if BB_FEATURE_SH_WORDEXP | 70 | #if BB_FEATURE_SH_WORDEXP |
| @@ -65,11 +65,6 @@ | |||
| 65 | #include <unistd.h> | 65 | #include <unistd.h> |
| 66 | #include <getopt.h> | 66 | #include <getopt.h> |
| 67 | 67 | ||
| 68 | // fix compile with uClibc (which does #define index strchr) -andy | ||
| 69 | #ifdef index | ||
| 70 | #undef index | ||
| 71 | #endif | ||
| 72 | |||
| 73 | #undef BB_FEATURE_SH_WORDEXP | 68 | #undef BB_FEATURE_SH_WORDEXP |
| 74 | 69 | ||
| 75 | #if BB_FEATURE_SH_WORDEXP | 70 | #if BB_FEATURE_SH_WORDEXP |
diff --git a/shell/lash.c b/shell/lash.c index bb833ea2f..a3003abea 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
| @@ -65,11 +65,6 @@ | |||
| 65 | #include <unistd.h> | 65 | #include <unistd.h> |
| 66 | #include <getopt.h> | 66 | #include <getopt.h> |
| 67 | 67 | ||
| 68 | // fix compile with uClibc (which does #define index strchr) -andy | ||
| 69 | #ifdef index | ||
| 70 | #undef index | ||
| 71 | #endif | ||
| 72 | |||
| 73 | #undef BB_FEATURE_SH_WORDEXP | 68 | #undef BB_FEATURE_SH_WORDEXP |
| 74 | 69 | ||
| 75 | #if BB_FEATURE_SH_WORDEXP | 70 | #if BB_FEATURE_SH_WORDEXP |
