projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9db936a
)
disable pingback on win32, until we have a replacement for utsname stuff (system ID)
author
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 13 Jul 2013 12:38:17 +0000
(08:38 -0400)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Sat, 13 Jul 2013 12:38:17 +0000
(08:38 -0400)
gtk2_ardour/pingback.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/pingback.cc
b/gtk2_ardour/pingback.cc
index dea7f52f016286147060684162ffb1785541bbcb..ccec81cba7a70164d93728cd5a36e21c7e97470f 100644
(file)
--- a/
gtk2_ardour/pingback.cc
+++ b/
gtk2_ardour/pingback.cc
@@
-23,7
+23,10
@@
#include <fstream>
#include <cstring>
+#ifndef WIN32
#include <sys/utsname.h>
+#endif
+
#include <curl/curl.h>
#include <glibmm/miscutils.h>
@@
-70,6
+73,7
@@
struct ping_call {
static void*
_pingback (void *arg)
{
+#ifndef WIN32
ping_call* cm = static_cast<ping_call*> (arg);
CURL* c;
struct utsname utb;
@@
-158,6
+162,8
@@
_pingback (void *arg)
curl_easy_cleanup (c);
delete cm;
+#endif /* WIN32 */
+
return 0;
}