fix typo in config.hpp for gcc build
This commit is contained in:
parent
2e14e413ea
commit
820fde5066
|
@ -401,12 +401,12 @@ int snprintf(char* buf, int len, char const* fmt, ...)
|
||||||
#ifdef __GLIBC__
|
#ifdef __GLIBC__
|
||||||
#define TORRENT_EXCEPTION_THROW_SPECIFIER _GLIBCXX_USE_NOEXCEPT
|
#define TORRENT_EXCEPTION_THROW_SPECIFIER _GLIBCXX_USE_NOEXCEPT
|
||||||
#else
|
#else
|
||||||
|
|
||||||
#if __cplusplus <= 199711L || defined BOOST_NO_CXX11_NOEXCEPT
|
#if __cplusplus <= 199711L || defined BOOST_NO_CXX11_NOEXCEPT
|
||||||
#define TORRENT_EXCEPTION_THROW_SPECIFIER throw()
|
#define TORRENT_EXCEPTION_THROW_SPECIFIER throw()
|
||||||
#else
|
#else
|
||||||
#define TORRENT_EXCEPTION_THROW_SPECIFIER noexcept
|
#define TORRENT_EXCEPTION_THROW_SPECIFIER noexcept
|
||||||
#endif
|
#endif
|
||||||
|
#endif // __GLIBC__
|
||||||
|
|
||||||
#if __cplusplus <= 199711L || defined BOOST_NO_CXX11_FINAL
|
#if __cplusplus <= 199711L || defined BOOST_NO_CXX11_FINAL
|
||||||
#define TORRENT_FINAL
|
#define TORRENT_FINAL
|
||||||
|
@ -420,9 +420,6 @@ int snprintf(char* buf, int len, char const* fmt, ...)
|
||||||
#define TORRENT_OVERRIDE override
|
#define TORRENT_OVERRIDE override
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#endif // __GLIBC__
|
|
||||||
|
|
||||||
#ifndef TORRENT_ICONV_ARG
|
#ifndef TORRENT_ICONV_ARG
|
||||||
#define TORRENT_ICONV_ARG (char**)
|
#define TORRENT_ICONV_ARG (char**)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -33,14 +33,16 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#ifndef TORRENT_TRACKER_MANAGER_HPP_INCLUDED
|
#ifndef TORRENT_TRACKER_MANAGER_HPP_INCLUDED
|
||||||
#define TORRENT_TRACKER_MANAGER_HPP_INCLUDED
|
#define TORRENT_TRACKER_MANAGER_HPP_INCLUDED
|
||||||
|
|
||||||
|
#include "libtorrent/config.hpp"
|
||||||
|
|
||||||
|
#include "aux_/disable_warnings_push.hpp"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <list>
|
#include <list>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
#include <ctime>
|
#include <ctime>
|
||||||
|
|
||||||
#include "aux_/disable_warnings_push.hpp"
|
|
||||||
|
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <boost/enable_shared_from_this.hpp>
|
#include <boost/enable_shared_from_this.hpp>
|
||||||
#include <boost/cstdint.hpp>
|
#include <boost/cstdint.hpp>
|
||||||
|
@ -54,7 +56,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#include "aux_/disable_warnings_pop.hpp"
|
#include "aux_/disable_warnings_pop.hpp"
|
||||||
|
|
||||||
#include "libtorrent/config.hpp"
|
|
||||||
#include "libtorrent/socket.hpp"
|
#include "libtorrent/socket.hpp"
|
||||||
#include "libtorrent/address.hpp"
|
#include "libtorrent/address.hpp"
|
||||||
#include "libtorrent/peer_id.hpp"
|
#include "libtorrent/peer_id.hpp"
|
||||||
|
|
Loading…
Reference in New Issue