From 7670b021feaa4fd35499fc27f45b4c7964f6c251 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 3 Aug 2010 14:39:52 +0200 Subject: build for <1.3 --- skype/skype.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/skype/skype.c b/skype/skype.c index 4ff8ced6..2c088852 100644 --- a/skype/skype.c +++ b/skype/skype.c @@ -33,8 +33,8 @@ /* * Compatibility with BitlBee 1.3+ */ -#ifndef GAIM_INPUT_READ -#define GAIM_INPUT_READ B_EV_IO_READ +#if BITLBEE_VERSION_CODE < BITLBEE_VER(1, 3, 0) +#define B_EV_IO_READ GAIM_INPUT_READ #endif /* @@ -958,7 +958,7 @@ gboolean skype_start_stream(struct im_connection *ic) return FALSE; if (sd->bfd <= 0) - sd->bfd = b_input_add(sd->fd, GAIM_INPUT_READ, + sd->bfd = b_input_add(sd->fd, B_EV_IO_READ, skype_read_callback, ic); /* Log in */ -- cgit v1.2.3