fix mingw32 sse2 crash and assertion failure (winxp)

This commit is contained in:
Miguel Freitas 2014-07-13 16:08:06 -03:00
parent acb6f8ea62
commit c9d6b2d0af
2 changed files with 2 additions and 2 deletions

View File

@ -531,7 +531,7 @@ AS_CASE(["$ARG_ENABLE_SSE2"],
["yes"|"on"], [ ["yes"|"on"], [
AC_MSG_RESULT([yes]) AC_MSG_RESULT([yes])
AC_DEFINE([USE_SSE2],[1],[Enable SSE2]) AC_DEFINE([USE_SSE2],[1],[Enable SSE2])
CXXFLAGS="$CXXFLAGS -DUSE_SSE2 -msse2 " CXXFLAGS="$CXXFLAGS -DUSE_SSE2 -msse2 -mstackrealign "
], ],
["no"|"off"], [ ["no"|"off"], [
AC_MSG_RESULT([no]) AC_MSG_RESULT([no])

View File

@ -2161,7 +2161,7 @@ void utp_socket_impl::ack_packet(packet* p, ptime const& receive_time
rtt = 100000; rtt = 100000;
// the clock for this plaform is not monotonic! // the clock for this plaform is not monotonic!
TORRENT_ASSERT(false); //TORRENT_ASSERT(false);
} }
UTP_LOGV("%8p: acked packet %d (%d bytes) (rtt:%u)\n" UTP_LOGV("%8p: acked packet %d (%d bytes) (rtt:%u)\n"