mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +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());
|
, filepath.c_str());
|
||||||
char *res = curl_http_get(url, NULL);
|
char *res = curl_http_get(url, NULL);
|
||||||
int pid=0;
|
int pid=0;
|
||||||
|
#ifndef COMPILER_MINGW
|
||||||
if (res) {
|
if (res) {
|
||||||
char *pch, *pst;
|
char *pch, *pst;
|
||||||
int version;
|
int version;
|
||||||
|
|
@ -285,6 +286,7 @@ video_query_info (
|
||||||
}
|
}
|
||||||
free(res);
|
free(res);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (pid!=5) {
|
if (pid!=5) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue