#else
+#ifndef WIN32
#ifdef HAVE_SYSLOG
#include "syslog.h"
#else
#define LOG_INFO 1
extern int syslog(int, char*, ...);
#endif
+#endif /* WIN32 */
void *
ldbm_malloc( size_t size )
static void
ldbm_db_errcall( const char *prefix, char *message )
{
+#ifndef WIN32
syslog( LOG_INFO, "ldbm_db_errcall(): %s %s", prefix, message );
+#endif
}
/* a dbEnv for BERKELEYv2 */
sprintf( error, "%s\n", strerror( err ));
}
+#ifndef WIN32
syslog( LOG_INFO,
"ldbm_initialize(): FATAL error in db_appinit() : %s\n",
error );
+#endif
return( 1 );
}