mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-10 14:58:05 +00:00
fix mingw32 sse2 crash and assertion failure (winxp)
This commit is contained in:
parent
acb6f8ea62
commit
c9d6b2d0af
@ -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])
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user