From 97b694eca0f3b0669e57bcca37d6a7bcf3766d58 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 19 Mar 2007 12:54:58 +0000 Subject: [PATCH] Disable lOG_-defines by default --- include/yaz/log.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/include/yaz/log.h b/include/yaz/log.h index 2e416c4..5d52338 100644 --- a/include/yaz/log.h +++ b/include/yaz/log.h @@ -24,7 +24,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -/* $Id: log.h,v 1.42 2007-01-03 08:42:14 adam Exp $ */ +/* $Id: log.h,v 1.43 2007-03-19 12:54:58 adam Exp $ */ /** * \file log.h @@ -196,9 +196,8 @@ YAZ_EXPORT void log_event_start(void (*func)(int level, const char *msg, YAZ_EXPORT void log_event_end(void (*func)(int level, const char *msg, void *info), void *info); -/* if syslog.h is already included, do not define the old LOG_'s */ -#ifdef LOG_DEBUG -#undef YAZ_USE_NEW_LOG +/* by default, do not enable the old LOG_-defines */ +#ifndef YAZ_USE_NEW_LOG #define YAZ_USE_NEW_LOG 1 #endif -- 1.7.10.4