fix typo in config.hpp for gcc build

This commit is contained in:
Arvid Norberg 2015-04-19 13:45:13 +00:00
parent 2e14e413ea
commit 820fde5066
2 changed files with 5 additions and 7 deletions

View File

@ -401,12 +401,12 @@ int snprintf(char* buf, int len, char const* fmt, ...)
#ifdef __GLIBC__
#define TORRENT_EXCEPTION_THROW_SPECIFIER _GLIBCXX_USE_NOEXCEPT
#else
#if __cplusplus <= 199711L || defined BOOST_NO_CXX11_NOEXCEPT
#define TORRENT_EXCEPTION_THROW_SPECIFIER throw()
#else
#define TORRENT_EXCEPTION_THROW_SPECIFIER noexcept
#endif
#endif // __GLIBC__
#if __cplusplus <= 199711L || defined BOOST_NO_CXX11_FINAL
#define TORRENT_FINAL
@ -420,9 +420,6 @@ int snprintf(char* buf, int len, char const* fmt, ...)
#define TORRENT_OVERRIDE override
#endif
#endif // __GLIBC__
#ifndef TORRENT_ICONV_ARG
#define TORRENT_ICONV_ARG (char**)
#endif

View File

@ -33,14 +33,16 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef TORRENT_TRACKER_MANAGER_HPP_INCLUDED
#define TORRENT_TRACKER_MANAGER_HPP_INCLUDED
#include "libtorrent/config.hpp"
#include "aux_/disable_warnings_push.hpp"
#include <vector>
#include <string>
#include <list>
#include <utility>
#include <ctime>
#include "aux_/disable_warnings_push.hpp"
#include <boost/shared_ptr.hpp>
#include <boost/enable_shared_from_this.hpp>
#include <boost/cstdint.hpp>
@ -54,7 +56,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include "aux_/disable_warnings_pop.hpp"
#include "libtorrent/config.hpp"
#include "libtorrent/socket.hpp"
#include "libtorrent/address.hpp"
#include "libtorrent/peer_id.hpp"