summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-11 09:24:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:17 -0500
commit2dacfdf099755cc42df6c669ee7d13d0e3688c2f (patch)
treeb45613c028d9338b363df64769367248b7c6a118 /source4
parent7e330c7c0c2aecf2dd2d049b0a58e20309ad4223 (diff)
downloadsamba-2dacfdf099755cc42df6c669ee7d13d0e3688c2f.tar.gz
samba-2dacfdf099755cc42df6c669ee7d13d0e3688c2f.tar.bz2
samba-2dacfdf099755cc42df6c669ee7d13d0e3688c2f.zip
r22789: fix loading of internal samba4 modules
metze (This used to be commit f6740c8b7abdaa65c8467220bf2d14e21fe71053)
Diffstat (limited to 'source4')
-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 e4b666c454..788c607d4e 100644
--- a/source4/lib/ldb/common/ldb_modules.c
+++ b/source4/lib/ldb/common/ldb_modules.c
@@ -135,7 +135,7 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
return NULL;
}
-#ifndef STATIC_ldb_MODULES
+#ifndef STATIC_LIBLDB_MODULES
#ifdef HAVE_LDB_LDAP
#define LDAP_INIT ldb_ldap_init,
@@ -149,7 +149,7 @@ static const struct ldb_module_ops *ldb_find_module_ops(const char *name)
#define SQLITE3_INIT
#endif
-#define STATIC_ldb_MODULES \
+#define STATIC_LIBLDB_MODULES \
{ \
LDAP_INIT \
SQLITE3_INIT \
@@ -166,7 +166,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_ldb_MODULES;
+ static int (*static_init_fns[])(void) = STATIC_LIBLDB_MODULES;
static int initialized = 0;
int ret = 0, i;