mirror of
https://github.com/troglobit/editline.git
synced 2025-09-18 18:39:36 +08:00
Configure sets HAVE_STRDUP, check for that instead of NEED_STRDUP.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
#define MAX_TOTAL_MATCHES (256 << sizeof(char *))
|
||||
|
||||
#ifdef NEED_STRDUP
|
||||
#ifndef HAVE_STRDUP
|
||||
/* Return an allocated copy of a string. */
|
||||
char *strdup(const char *p)
|
||||
{
|
||||
|
Reference in New Issue
Block a user