put back #include <cassert>

This commit is contained in:
Arvid Norberg 2007-12-27 10:50:12 +00:00
parent bc656acebb
commit b2a49d2db9
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ TORRENT_EXPORT void assert_fail(const char* expr, int line, char const* file, ch
#define TORRENT_ASSERT(x) if (x) {} else assert_fail(#x, __LINE__, __FILE__, __PRETTY_FUNCTION__)
#else
#include <cassert>
#define TORRENT_ASSERT(x) assert(x)
#endif