mingw bugfixes

This commit is contained in:
Simon Morlat 2010-09-20 21:20:39 +02:00
parent 2615c21265
commit 889a95b9c7
3 changed files with 6 additions and 5 deletions

View file

@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "linphonecore_utils.h"
static void play_finished(LsdPlayer *p){
const char *filename=(const char *)lsd_player_get_user_pointer (p);
ms_message("Playing of %s is finished.",filename);
@ -35,8 +36,8 @@ static void play_finished(LsdPlayer *p){
}
static void wait_a_bit(LinphoneCore *lc, int seconds){
time_t orig=time(NULL);
while(time(NULL)-orig<seconds){
time_t orig=ms_time(NULL);
while(ms_time(NULL)-orig<seconds){
/* we need to call iterate to receive notifications */
linphone_core_iterate(lc);
ms_usleep (50000);

View file

@ -2,8 +2,8 @@
./bin/avformat-52.dll
./bin/avutil-50.dll
./bin/libeXosip2-4.dll
./bin/libogg-0.dll
./bin/libtheora-0.dll
./bin/libogg.dll
./bin/libtheora.dll
./bin/libxml2-2.dll
./bin/libosip2-4.dll
./bin/libosipparser2-4.dll

View file

@ -22,7 +22,7 @@ $(INSTALL_ROOT): $(WORKDIR)
#Inno Setup 5 compiler
ISCC=ISCC.exe
ISCC="c:\Program Files\Inno setup 5\ISCC.exe"
$(LINPHONE_SRC_DIR)/configure:
cd $(LINPHONE_SRC_DIR) && ./autogen.sh