From 242dd9f346cdc5c8295d99c27868e139d2b3e4b0 Mon Sep 17 00:00:00 2001 From: Heikki Levanto Date: Fri, 26 Nov 2004 11:06:29 +0000 Subject: [PATCH] Added a way to get around the old log warning --- include/yaz/log.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/yaz/log.h b/include/yaz/log.h index 017a5bb..115bc50 100644 --- a/include/yaz/log.h +++ b/include/yaz/log.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: log.h,v 1.23 2004-11-26 10:58:38 heikki Exp $ + * $Id: log.h,v 1.24 2004-11-26 11:06:29 heikki Exp $ */ /** @@ -35,7 +35,13 @@ #define LOG_H #include + +#ifndef YAZ_USE_OLD_LOG #warning "use of log.h is deprecated, use ylog.h instead" +/* if this warning gets on your nerves, run configure like this: + * CFLAGS="-Wall -g -D YAZ_USE_OLD_LOG" ./configure + */ +#endif #include #include -- 1.7.10.4