From: Heikki Levanto Date: Fri, 26 Nov 2004 11:06:29 +0000 (+0000) Subject: Added a way to get around the old log warning X-Git-Tag: YAZ.2.0.30~44 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=242dd9f346cdc5c8295d99c27868e139d2b3e4b0;p=yaz-moved-to-github.git Added a way to get around the old log warning --- 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