Commit 6d70806e authored by aymeric's avatar aymeric
Browse files

fix for Windows Mobile

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@139 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 6b94c159
......@@ -119,6 +119,20 @@ RtpSession * create_duplex_rtpsession( int locport, bool_t ipv6){
return rtpr;
}
#if defined(_WIN32_WCE)
time_t
time (time_t *t)
{
DWORD timemillis = GetTickCount();
if (timemillis>0)
{
if (t!=NULL)
*t = timemillis/1000;
}
return timemillis/1000;
}
#endif
bool_t audio_stream_alive(AudioStream * stream, int timeout){
RtpSession *session=stream->session;
const rtp_stats_t *stats=rtp_session_get_stats(session);
......
......@@ -23,7 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "mediastreamer2/mscommon.h"
#if defined(WIN32)
#if defined(WIN32) && !defined(_WIN32_WCE)
HINSTANCE m_IcmpInst = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment