mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 10:28:07 +08:00
Configure sets HAVE_STRDUP, check for that instead of NEED_STRDUP.
This commit is contained in:
@@ -93,7 +93,7 @@ extern int strlen(const char *s);
|
||||
extern int strncmp(const char *s1, const char *s2, size_t n);
|
||||
#endif/* !HAVE_STDLIB */
|
||||
|
||||
#ifdef NEED_STRDUP
|
||||
#ifndef HAVE_STRDUP
|
||||
extern char *strdup(const char *s);
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user