mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 10:39:34 -05:00
Protect strcasecmp from macro w/ args expansion.
This commit is contained in:
parent
b1d315c51f
commit
5a5fc0872b
1 changed files with 2 additions and 1 deletions
|
|
@ -65,7 +65,8 @@ extern char *ldap_pvt_strdup( const char * s );
|
|||
* some systems fail to declare strcasecmp() and strncasecmp()
|
||||
* we need them declared so we can obtain pointers to them
|
||||
*/
|
||||
extern int strcasecmp(), strncasecmp();
|
||||
extern int (strcasecmp)();
|
||||
extern int (strncasecmp)();
|
||||
|
||||
#ifndef SAFEMEMCPY
|
||||
# if defined( HAVE_MEMMOVE )
|
||||
|
|
|
|||
Loading…
Reference in a new issue