remove #undef strlen, use #define strlen always but without xfunc/BB_STRLEN_IMPLEMENTATION
This commit is contained in:
@ -387,7 +387,9 @@ void reset_ino_dev_hashtable(void);
|
||||
|
||||
/* Stupid gcc always includes its own builtin strlen()... */
|
||||
extern size_t bb_strlen(const char *string);
|
||||
#ifndef BB_STRLEN_IMPLEMENTATION
|
||||
#define strlen(x) bb_strlen(x)
|
||||
#endif
|
||||
|
||||
char *bb_xasprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2)));
|
||||
|
||||
|
Reference in New Issue
Block a user