mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
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:
parent
f42c514631
commit
f383585094
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue