]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/os-local.c
Changes from HEAD for beta
[openldap] / libraries / libldap / os-local.c
index 66386abe12afd96d1988310e9ac4e9a22375f7ea..0210e44ae69be6d137702ee109e0c1b157d683b5 100644 (file)
 
 /* int ldap_int_tblsize = 0; */
 
+#ifdef LDAP_DEBUG
+
 #define oslocal_debug(ld,fmt,arg1,arg2,arg3) \
 do { \
        ldap_log_printf(ld, LDAP_DEBUG_TRACE, fmt, arg1, arg2, arg3); \
 } while(0)
 
+#else
+
+#define oslocal_debug(ld,fmt,arg1,arg2,arg3) ((void)0)
+
+#endif /* LDAP_DEBUG */
+
 static void
 ldap_pvt_set_errno(int err)
 {