mirror of
https://github.com/sheumann/hush.git
synced 2025-03-01 12:30:09 +00:00
Reversed previous patch. The right way is to fix uClibc.
This commit is contained in:
parent
0d4e51d390
commit
730cdb1904
5
lash.c
5
lash.c
@ -65,11 +65,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
||||||
// fix compile with uClibc (which does #define index strchr) -andy
|
|
||||||
#ifdef index
|
|
||||||
#undef index
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef BB_FEATURE_SH_WORDEXP
|
#undef BB_FEATURE_SH_WORDEXP
|
||||||
|
|
||||||
#if BB_FEATURE_SH_WORDEXP
|
#if BB_FEATURE_SH_WORDEXP
|
||||||
|
5
sh.c
5
sh.c
@ -65,11 +65,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
||||||
// fix compile with uClibc (which does #define index strchr) -andy
|
|
||||||
#ifdef index
|
|
||||||
#undef index
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef BB_FEATURE_SH_WORDEXP
|
#undef BB_FEATURE_SH_WORDEXP
|
||||||
|
|
||||||
#if BB_FEATURE_SH_WORDEXP
|
#if BB_FEATURE_SH_WORDEXP
|
||||||
|
@ -65,11 +65,6 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <getopt.h>
|
#include <getopt.h>
|
||||||
|
|
||||||
// fix compile with uClibc (which does #define index strchr) -andy
|
|
||||||
#ifdef index
|
|
||||||
#undef index
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#undef BB_FEATURE_SH_WORDEXP
|
#undef BB_FEATURE_SH_WORDEXP
|
||||||
|
|
||||||
#if BB_FEATURE_SH_WORDEXP
|
#if BB_FEATURE_SH_WORDEXP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user