From 18b50193854dc07bb392651c4708032c5c701345 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 13 Jul 2013 08:38:17 -0400 Subject: [PATCH] disable pingback on win32, until we have a replacement for utsname stuff (system ID) --- gtk2_ardour/pingback.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gtk2_ardour/pingback.cc b/gtk2_ardour/pingback.cc index dea7f52f01..ccec81cba7 100644 --- a/gtk2_ardour/pingback.cc +++ b/gtk2_ardour/pingback.cc @@ -23,7 +23,10 @@ #include #include +#ifndef WIN32 #include +#endif + #include #include @@ -70,6 +73,7 @@ struct ping_call { static void* _pingback (void *arg) { +#ifndef WIN32 ping_call* cm = static_cast (arg); CURL* c; struct utsname utb; @@ -158,6 +162,8 @@ _pingback (void *arg) curl_easy_cleanup (c); delete cm; +#endif /* WIN32 */ + return 0; }