Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2016-01-02 02:29:13 +0300
committerEion Robb <eion@robbmob.com>2016-01-02 02:29:13 +0300
commit68cb5f35b70e8279b97cc0da91449fae78d32b20 (patch)
treef2aaca74865aa5e53650ec5c01f8ab0d77634ec0
parentc82540f47c05dad844556f910d387502907392ad (diff)
Add horrible Fedora compile-time detection
They backported purple_xfer_write_file (in pidgin-2.10.11-xfer-rw-file.patch) without any real way to target, breaking semver
-rw-r--r--skypeweb/libskypeweb.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/skypeweb/libskypeweb.h b/skypeweb/libskypeweb.h
index cab22cb..f53fe33 100644
--- a/skypeweb/libskypeweb.h
+++ b/skypeweb/libskypeweb.h
@@ -175,7 +175,7 @@
#define purple_hash_destroy purple_cipher_context_destroy
#define purple_xfer_set_protocol_data(xfer, proto_data) ((xfer)->data = (proto_data))
#define purple_xfer_get_protocol_data(xfer) ((xfer)->data)
-#if !PURPLE_VERSION_CHECK(2, 11, 0)
+#if !PURPLE_VERSION_CHECK(2, 11, 0) && !FEDORA
static inline gboolean
purple_xfer_write_file(PurpleXfer *xfer, const guchar *buffer, gsize size) {
PurpleXferUiOps *ui_ops = purple_xfer_get_ui_ops(xfer);