Remove internal edit mode and add "content" tool.
[ardour.git] / gtk2_ardour / pingback.cc
index ccec81cba7a70164d93728cd5a36e21c7e97470f..8e4a32628d546585ec29896e9ea2b6832c67b32e 100644 (file)
@@ -23,7 +23,7 @@
 #include <fstream>
 #include <cstring>
 
-#ifndef WIN32
+#ifndef PLATFORM_WINDOWS
 #include <sys/utsname.h>
 #endif
 
@@ -42,6 +42,7 @@
 using std::string;
 using namespace ARDOUR;
 
+#ifndef PLATFORM_WINDOWS // no pingback for windows, so far
 static size_t
 curl_write_data (char *bufptr, size_t size, size_t nitems, void *ptr)
 {
@@ -61,6 +62,7 @@ curl_write_data (char *bufptr, size_t size, size_t nitems, void *ptr)
 
         return size * nitems;
 }
+#endif
 
 struct ping_call {
     std::string version;
@@ -73,7 +75,7 @@ struct ping_call {
 static void*
 _pingback (void *arg)
 {
-#ifndef WIN32
+#ifndef PLATFORM_WINDOWS
        ping_call* cm = static_cast<ping_call*> (arg);
        CURL* c;
        struct utsname utb;
@@ -162,7 +164,7 @@ _pingback (void *arg)
        curl_easy_cleanup (c);
        delete cm;
 
-#endif /* WIN32 */
+#endif /* PLATFORM_WINDOWS */
 
        return 0;
 }