added TORRENT_EXPORT to assert_fail
This commit is contained in:
parent
bc897ef808
commit
2661f834fd
|
@ -38,7 +38,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#undef assert
|
||||
#endif
|
||||
|
||||
void assert_fail(const char* expr, int line, char const* file, char const* function);
|
||||
#include "libtorrent/config.hpp"
|
||||
|
||||
TORRENT_EXPORT void assert_fail(const char* expr, int line, char const* file, char const* function);
|
||||
|
||||
#define assert(x) if (x) {} else assert_fail(#x, __LINE__, __FILE__, __PRETTY_FUNCTION__)
|
||||
|
||||
|
|
|
@ -34,7 +34,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||
#define TORRENT_CONFIG_HPP_INCLUDED
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#include "libtorrent/assert.hpp"
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 4
|
||||
|
||||
|
|
Loading…
Reference in New Issue