forked from premiere/premiere-libtorrent
fix logging build
This commit is contained in:
parent
469fe10107
commit
86b794b105
|
@ -96,5 +96,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#define NAME_MAX 255
|
||||
#endif
|
||||
|
||||
#if (defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)) && !defined (TORRENT_UPNP_LOGGING)
|
||||
#define TORRENT_UPNP_LOGGING
|
||||
#endif
|
||||
|
||||
#endif // TORRENT_CONFIG_HPP_INCLUDED
|
||||
|
||||
|
|
|
@ -39,10 +39,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <boost/function.hpp>
|
||||
#include <boost/thread/mutex.hpp>
|
||||
|
||||
#if defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)
|
||||
#include <fstream>
|
||||
#endif
|
||||
|
||||
namespace libtorrent
|
||||
{
|
||||
|
||||
|
|
|
@ -47,10 +47,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#include <set>
|
||||
|
||||
|
||||
#if (defined(TORRENT_LOGGING) || defined(TORRENT_VERBOSE_LOGGING)) && !defined (TORRENT_UPNP_LOGGING)
|
||||
#define TORRENT_UPNP_LOGGING
|
||||
#endif
|
||||
|
||||
#if defined(TORRENT_UPNP_LOGGING)
|
||||
#include <fstream>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue