disable pingback on win32, until we have a replacement for utsname stuff (system ID)
This commit is contained in:
parent
9db936ac26
commit
18b5019385
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user