Fixed: Compilation under unices (syslog.h included before chat_displayer.h creates a conflict with LOG_WARNING)

This commit is contained in:
kervala 2012-09-18 09:11:23 +02:00
parent e48a8bd13e
commit 49900c0be3

View file

@ -25,6 +25,11 @@
#include "nel/misc/mutex.h" #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 * class used to display console text commands in the chat window
* \author Nicolas Brigand * \author Nicolas Brigand