Fix [-Wundef] warnings in LDAP extension

This commit is contained in:
George Peter Banyard 2020-05-16 00:30:38 +02:00
parent f717ec608d
commit 046ff29958
3 changed files with 44 additions and 44 deletions

View file

@ -209,7 +209,7 @@ function ldap_control_paged_result($link, int $pagesize, bool $iscritical = fals
function ldap_control_paged_result_response($link, $result, &$cookie = null, &$estimated = null): bool {}
#endif
#if (LDAP_API_VERSION > 2000) || HAVE_ORALDAP
#if (LDAP_API_VERSION > 2000) || defined(HAVE_ORALDAP)
/** @param resource $link_identifier */
function ldap_rename($link_identifier, string $dn, string $newrdn, string $newparent, bool $deleteoldrdn, array $servercontrols = []): bool {}