svn commit: samba r22789 - in	branches/SAMBA_4_0/source/lib/ldb/common: . Author: metze
Date: 2007-05-11 09:24:41 +0000 (Fri, 11 May 2007)
New Revision: 22789

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22789

Log:
fix loading of internal samba4 modules

metze
Modified:
   branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c	2007-05-11 08:59:14 UTC (rev 22788)
+++ branches/SAMBA_4_0/source/lib/ldb/common/ldb_modules.c	2007-05-11 09:24:41 UTC (rev 22789)
@@ -135,7 +135,7 @@
 	return NULL;
 }
 
-#ifndef STATIC_ldb_MODULES
+#ifndef STATIC_LIBLDB_MODULES
 
 #ifdef HAVE_LDB_LDAP
 #define LDAP_INIT ldb_ldap_init,
@@ -149,7 +149,7 @@
 #define SQLITE3_INIT
 #endif
 
-#define STATIC_ldb_MODULES \\
+#define STATIC_LIBLDB_MODULES \\
 	{	\\
 		LDAP_INIT \\
 		SQLITE3_INIT \\
@@ -166,7 +166,7 @@
 
 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;

