forked from premiere/premiere-libtorrent
attempted glibc build fix
This commit is contained in:
parent
6cea5e61da
commit
086723dd76
|
@ -405,7 +405,7 @@ int snprintf(char* buf, int len, char const* fmt, ...)
|
||||||
#define TORRENT_NO_RETURN
|
#define TORRENT_NO_RETURN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __GLIBC__
|
#ifdef _GLIBCXX_USE_NOEXCEPT
|
||||||
#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
|
||||||
|
|
Loading…
Reference in New Issue