]> git.sur5r.net Git - openldap/commitdiff
Fix LDBM on Windows
authorHoward Chu <hyc@openldap.org>
Wed, 17 Mar 2004 05:26:57 +0000 (05:26 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 17 Mar 2004 05:26:57 +0000 (05:26 +0000)
include/ldap_cdefs.h

index d25883f9de734653faf985507c6139c456c9b44d..8993bb13894bb22ca7a52642b7bc12af96863c6f 100644 (file)
 #endif
 
 /* LDBM library */
-#if defined(_WIN32) && defined(SLAPD_IMPORT)
-#      define LDAP_LDBM_F(type)        extern __declspec(dllimport) type
-#      define LDAP_LDBM_V(type)        extern __declspec(dllimport) type
-#else
+/* Not exported/imported any more */
 #      define LDAP_LDBM_F(type)        extern type
 #      define LDAP_LDBM_V(type)        extern type
-#endif
 
 /* LDIF library */
 #if defined(_WIN32) && defined(SLAPD_IMPORT)