Commit a92dde39 authored by Simon Morlat's avatar Simon Morlat
Browse files

enable traces on stdout also with visual studio

parent cb850d46
...@@ -259,11 +259,9 @@ static void __ortp_logv_out(OrtpLogLevel lev, const char *fmt, va_list args){ ...@@ -259,11 +259,9 @@ static void __ortp_logv_out(OrtpLogLevel lev, const char *fmt, va_list args){
#if defined(_MSC_VER) && !defined(_WIN32_WCE) #if defined(_MSC_VER) && !defined(_WIN32_WCE)
OutputDebugString(msg); OutputDebugString(msg);
OutputDebugString("\r\n"); OutputDebugString("\r\n");
#else #endif
fprintf(__log_file,"ortp-%s-%s" ENDLINE,lname,msg); fprintf(__log_file,"ortp-%s-%s" ENDLINE,lname,msg);
fflush(__log_file); fflush(__log_file);
ortp_free(msg); ortp_free(msg);
} }
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