From 47a5ff22ec7d85b6edcb0065c49cbf4d2304be7a Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 18 Sep 2012 09:11:23 +0200 Subject: [PATCH] Fixed: Compilation under unices (syslog.h included before chat_displayer.h creates a conflict with LOG_WARNING) --- code/ryzom/client/src/interface_v3/chat_displayer.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/ryzom/client/src/interface_v3/chat_displayer.h b/code/ryzom/client/src/interface_v3/chat_displayer.h index f98ed79f8..875859b78 100644 --- a/code/ryzom/client/src/interface_v3/chat_displayer.h +++ b/code/ryzom/client/src/interface_v3/chat_displayer.h @@ -25,6 +25,11 @@ #include "nel/misc/mutex.h" +// to fix a conflict with syslog.h being included by libwww +#ifdef LOG_WARNING +#undef LOG_WARNING +#endif + /** * class used to display console text commands in the chat window * \author Nicolas Brigand