diff options
| -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 |
