r22789: fix loading of internal samba4 modules
authorStefan Metzmacher <metze@samba.org>
Fri, 11 May 2007 09:24:41 +0000 (09:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:52:17 +0000 (14:52 -0500)
metze

source/lib/ldb/common/ldb_modules.c

index e4b666c454560615ee9a7691f24f0f8e22a7ba70..788c607d4ebc1ad5cb65fbb7866a6fb40a8ef7e2 100644 (file)
@@ -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;