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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user