mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
Only declare strdup() if DECL_STRDUP is defined
This commit is contained in:
parent
e732e12279
commit
13f169ee54
@ -55,8 +55,10 @@ extern char *ldap_pvt_strdup( const char * s );
|
||||
# undef strdup
|
||||
# define strdup(s) ldap_pvt_strdup(s)
|
||||
#else
|
||||
/* some systems fail to declare strdup */
|
||||
extern char *strdup();
|
||||
# ifdef DECL_STRDUP
|
||||
/* some systems fail to declare strdup */
|
||||
extern char *strdup();
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user