From 086723dd7635c71956ccd3101e4ef4c89579aaec Mon Sep 17 00:00:00 2001 From: arvidn Date: Thu, 4 Jun 2015 21:44:24 -0400 Subject: [PATCH] attempted glibc build fix --- include/libtorrent/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/config.hpp b/include/libtorrent/config.hpp index 007220800..0e64e3cc1 100644 --- a/include/libtorrent/config.hpp +++ b/include/libtorrent/config.hpp @@ -405,7 +405,7 @@ int snprintf(char* buf, int len, char const* fmt, ...) #define TORRENT_NO_RETURN #endif -#ifdef __GLIBC__ +#ifdef _GLIBCXX_USE_NOEXCEPT #define TORRENT_EXCEPTION_THROW_SPECIFIER _GLIBCXX_USE_NOEXCEPT #else #if __cplusplus <= 199711L || defined BOOST_NO_CXX11_NOEXCEPT