mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-09 02:52:04 +08:00
NT port
This commit is contained in:
parent
1c7ebc514f
commit
e6b47355f9
@ -137,6 +137,7 @@ struct ldbminfo {
|
||||
struct dbcache li_dbcache[MAXDBCACHE];
|
||||
ldap_pvt_thread_mutex_t li_dbcache_mutex;
|
||||
ldap_pvt_thread_cond_t li_dbcache_cv;
|
||||
DB_ENV li_db_env;
|
||||
};
|
||||
|
||||
#include "proto-back-ldbm.h"
|
||||
|
@ -60,7 +60,7 @@ LIB32=link.exe -lib
|
||||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\\" /I "..\..\..\include" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
||||
# ADD CPP /nologo /MTd /W3 /GX /Z7 /Od /I "..\\" /I "..\..\..\include" /I "..\..\..\libraries\regex" /I "..\..\..\..\db-2.7.3\build_win32" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /FR /YX /FD /c
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
|
@ -14,6 +14,16 @@
|
||||
|
||||
#include "db.h"
|
||||
|
||||
#ifdef HAVE_BERKELEY_DB2
|
||||
|
||||
void
|
||||
ldbm_db_errcall( const char *prefix, const char *message )
|
||||
{
|
||||
Debug( LDAP_DEBUG_ANY, "ldbm_db_errcall(): %s %s", prefix, message, 0 );
|
||||
}
|
||||
|
||||
#endif /* HAVE_BERKELEY_DB2 */
|
||||
|
||||
|
||||
void
|
||||
ldbm_back_startup(
|
||||
@ -83,15 +93,3 @@ ldbm_back_shutdown(
|
||||
(void) db_appexit( &li->li_db_env );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
#ifdef HAVE_BERKELEY_DB2
|
||||
|
||||
void
|
||||
ldbm_db_errcall( const char *prefix, const char *message )
|
||||
{
|
||||
Debug( LDAP_DEBUG_ANY, "ldbm_db_errcall(): %s %s", prefix, message, 0 );
|
||||
}
|
||||
|
||||
#endif /* HAVE_BERKELEY_DB2 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user