mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
Fixed my own stupid mistake of not noticing the 'n' in #ifndef. strdup
should work as it was again...
This commit is contained in:
parent
d6dc9491f8
commit
41234c2819
1 changed files with 3 additions and 3 deletions
|
|
@ -44,11 +44,11 @@
|
|||
|
||||
#ifndef HAVE_STRDUP
|
||||
/* strdup() is missing, declare our own version */
|
||||
extern char *strdup( const char *s );
|
||||
#else
|
||||
/* provide our own strdup */
|
||||
extern char *ldap_pvt_strdup( const char * s );
|
||||
# define strdup ldap_pvt_strdup
|
||||
#else
|
||||
/* some systems fail to declare strdup */
|
||||
extern char *strdup();
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue