fix logging build

This commit is contained in:
Arvid Norberg 2008-12-28 03:01:36 +00:00
parent 469fe10107
commit 86b794b105
3 changed files with 4 additions and 8 deletions

View File

@ -96,5 +96,9 @@ POSSIBILITY OF SUCH DAMAGE.
#define NAME_MAX 255 #define NAME_MAX 255
#endif #endif
#if (defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)) && !defined (TORRENT_UPNP_LOGGING)
#define TORRENT_UPNP_LOGGING
#endif
#endif // TORRENT_CONFIG_HPP_INCLUDED #endif // TORRENT_CONFIG_HPP_INCLUDED

View File

@ -39,10 +39,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/function.hpp> #include <boost/function.hpp>
#include <boost/thread/mutex.hpp> #include <boost/thread/mutex.hpp>
#if defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)
#include <fstream>
#endif
namespace libtorrent namespace libtorrent
{ {

View File

@ -47,10 +47,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include <set> #include <set>
#if (defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)) && !defined (TORRENT_UPNP_LOGGING)
#define TORRENT_UPNP_LOGGING
#endif
#if defined(TORRENT_UPNP_LOGGING) #if defined(TORRENT_UPNP_LOGGING)
#include <fstream> #include <fstream>
#endif #endif