summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2013-07-20 10:21:12 +1000
committerTim Mayberry <mojofunk@gmail.com>2013-07-22 13:44:32 +1000
commitf383585094528b62585d9a534a1ea6eff62ed42f (patch)
tree5cbfe70e3f02fff2ca441da0c63772d782de3e14
parentf42c51463153bb2f761e722e4a7575cad580da3e (diff)
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.
-rw-r--r--gtk2_ardour/utils_videotl.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/utils_videotl.cc b/gtk2_ardour/utils_videotl.cc
index 504fc3d2eb..1496893e82 100644
--- a/gtk2_ardour/utils_videotl.cc
+++ b/gtk2_ardour/utils_videotl.cc
@@ -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;
}