summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/lib/ldb/common/ldb_modules.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/common/ldb_modules.c b/source4/lib/ldb/common/ldb_modules.c
index 5dab448a56..59cf42165b 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -138,8 +138,8 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
#define SQLITE3_INIT
#endif
-#ifndef STATIC_LIBLDB_MODULES
-#define STATIC_LIBLDB_MODULES \
+#ifndef STATIC_ldb_MODULES
+#define STATIC_ldb_MODULES \
{ \
LDAP_INIT \
SQLITE3_INIT \
@@ -156,7 +156,7 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
int ldb_global_init(void)
{
- static int (*static_init_fns[])(void) = STATIC_LIBLDB_MODULES;
+ static int (*static_init_fns[])(void) = STATIC_ldb_MODULES;
static int initialized = 0;
int ret = 0, i;