projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a way to get around the old log warning
[yaz-moved-to-github.git]
/
include
/
yaz
/
log.h
diff --git
a/include/yaz/log.h
b/include/yaz/log.h
index
017a5bb
..
115bc50
100644
(file)
--- 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.
*
* 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 <yaz/ylog.h>
#define LOG_H
#include <yaz/ylog.h>
+
+#ifndef YAZ_USE_OLD_LOG
#warning "use of log.h is deprecated, use ylog.h instead"
#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 <stdio.h>
#include <yaz/yconfig.h>
#include <stdio.h>
#include <yaz/yconfig.h>