]> git.sur5r.net Git - openldap/commitdiff
blind fix (tnx Howard); I'll check it later
authorPierangelo Masarati <ando@openldap.org>
Thu, 8 Apr 2004 11:44:57 +0000 (11:44 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 8 Apr 2004 11:44:57 +0000 (11:44 +0000)
servers/slapd/back-sql/init.c

index 663f3225f9a9eaf7140541ec9e556cb4f9b8c2d1..30c2f860dfe27f3aad5951ab6cfc473c53339680 100644 (file)
@@ -29,7 +29,7 @@
 #include "ldap_pvt.h"
 #include "proto-sql.h"
 
-#if defined(SLAPD_SQL_DYNAMIC)
+#if SLAPD_SQL == SLAPD_MOD_DYNAMIC
 
 int
 init_module(
@@ -46,7 +46,7 @@ init_module(
        return 0;
 }
 
-#endif /* SLAPD_SQL_DYNAMIC */
+#endif /* SLAPD_SQL == SLAPD_MOD_DYNAMIC*/
 
 int
 sql_back_initialize(