]> granicus.if.org Git - php/commitdiff
- Fix build bug
authorAndi Gutmans <andi@php.net>
Mon, 3 Apr 2000 22:00:18 +0000 (22:00 +0000)
committerAndi Gutmans <andi@php.net>
Mon, 3 Apr 2000 22:00:18 +0000 (22:00 +0000)
ext/ldap/ldap.c

index 5980a53bc9b74c003e7748dc360fbfbcfdd0add8..364a9d8fcadd2b846542493ca078b26915fd5430 100644 (file)
@@ -156,11 +156,15 @@ PHP_MINFO_FUNCTION(ldap)
 #if HAVE_NSLDAP
        LDAPVersion ver;
        double SDKVersion;
-       /* Print version information */
-       SDKVersion = ldap_version( &ver );
 #endif
+
        LDAPLS_FETCH();
 
+#if HAVE_NSLDAP
+/* Print version information */
+       SDKVersion = ldap_version( &ver );
+#endif
+
        if (LDAPG(max_links) == -1) {
                strcpy(maxl, "Unlimited");
        } else {