Disable some code on MinGW build until it can be tested NEEDS FIXING

Windows has the function strtok_s which is equivalent to strtok_r in versions
of msvcrt in Vista and above but not win XP. So either reimplement for WinXP or replace
with something more portable and C++'y.
This commit is contained in:
Tim Mayberry 2013-07-20 10:21:12 +10:00
parent f42c514631
commit f383585094

View file

@ -253,6 +253,7 @@ video_query_info (
, filepath.c_str());
char *res = curl_http_get(url, NULL);
int pid=0;
#ifndef COMPILER_MINGW
if (res) {
char *pch, *pst;
int version;
@ -285,6 +286,7 @@ video_query_info (
}
free(res);
}
#endif
if (pid!=5) {
return false;
}