Reversed previous patch. The right way is to fix uClibc.
authorMark Whitley <markw@lineo.com>
Thu, 15 Mar 2001 19:39:40 +0000 (19:39 -0000)
committerMark Whitley <markw@lineo.com>
Thu, 15 Mar 2001 19:39:40 +0000 (19:39 -0000)
lash.c
sh.c
shell/lash.c

diff --git a/lash.c b/lash.c
index bb833ea2fec6c3906904b17680a4a19d6328a23a..a3003abeae6d9e4c06047e7d4c28661d28490703 100644 (file)
--- a/lash.c
+++ b/lash.c
 #include <unistd.h>
 #include <getopt.h>
 
-// fix compile with uClibc (which does #define index strchr) -andy
-#ifdef index
-#undef index
-#endif
-
 #undef BB_FEATURE_SH_WORDEXP
 
 #if BB_FEATURE_SH_WORDEXP
diff --git a/sh.c b/sh.c
index bb833ea2fec6c3906904b17680a4a19d6328a23a..a3003abeae6d9e4c06047e7d4c28661d28490703 100644 (file)
--- a/sh.c
+++ b/sh.c
 #include <unistd.h>
 #include <getopt.h>
 
-// fix compile with uClibc (which does #define index strchr) -andy
-#ifdef index
-#undef index
-#endif
-
 #undef BB_FEATURE_SH_WORDEXP
 
 #if BB_FEATURE_SH_WORDEXP
index bb833ea2fec6c3906904b17680a4a19d6328a23a..a3003abeae6d9e4c06047e7d4c28661d28490703 100644 (file)
 #include <unistd.h>
 #include <getopt.h>
 
-// fix compile with uClibc (which does #define index strchr) -andy
-#ifdef index
-#undef index
-#endif
-
 #undef BB_FEATURE_SH_WORDEXP
 
 #if BB_FEATURE_SH_WORDEXP