change output for vstudio

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@215 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
aymeric 2008-12-31 12:12:10 +00:00
parent 010a0db58c
commit 13c66482e4

View file

@ -256,7 +256,13 @@ static void __ortp_logv_out(OrtpLogLevel lev, const char *fmt, va_list args){
ortp_fatal("Bad level !");
}
msg=_strdup_vprintf(fmt,args);
#ifdef _MSC_VER
OutputDebugString(msg);
OutputDebugString("\r\n");
#else
fprintf(__log_file,"ortp-%s-%s" ENDLINE,lname,msg);
#endif
ortp_free(msg);
}