Re: [kopete-devel] tcp_info and FreeBSD

2009-05-21 Thread Roman Jarosz
On Thu, 21 May 2009 16:46:17 +0200, Raphael Kubo da Costa kub...@gmail.com wrote: 2009/5/20 Raphael Kubo da Costa kub...@gmail.com: 2009/5/20 Roman Jarosz kedge...@gmail.com: Will it compile if you change the two Q_WS_X11 to Q_OS_LINUX (without the patch)? Yes, it did compile now. Can

Re: [kopete-devel] tcp_info and FreeBSD

2009-05-21 Thread Raphael Kubo da Costa
2009/5/21 Roman Jarosz kedge...@gmail.com: On Thu, 21 May 2009 16:46:17 +0200, Raphael Kubo da Costa kub...@gmail.com wrote: 2009/5/20 Raphael Kubo da Costa kub...@gmail.com: 2009/5/20 Roman Jarosz kedge...@gmail.com: Will it compile if you change the two Q_WS_X11 to Q_OS_LINUX (without the

Re: [kopete-devel] tcp_info and FreeBSD

2009-05-20 Thread Roman Jarosz
Other platforms are fine because there's ifdef for linux. As you said FreeBSD should also have this the only difference is that the tcpi_last_ack_recv and tcpi_last_data_sent in FreeBSD have __tcpi_last_ack_recv and __tcpi_last_data_sent I don't know how to detect FreeBSD but it should be possible

Re: [kopete-devel] tcp_info and FreeBSD

2009-05-20 Thread Roman Jarosz
I've created patch which may fix this (but I can't test it). I don't know if Q_OS_BSD4 is the correct macro you may have to adjust that the available macros are here http://doc.trolltech.com/4.5/qtglobal.html Regards, Roman On Wed, 20 May 2009 09:16:54 +0200, Roman Jarosz kedge...@gmail.com

Re: [kopete-devel] tcp_info and FreeBSD

2009-05-20 Thread Roman Jarosz
Will it compile if you change the two Q_WS_X11 to Q_OS_LINUX (without the patch)? On Wed, 20 May 2009 14:58:01 +0200, Raphael Kubo da Costa kub...@gmail.com wrote: 2009/5/20 Roman Jarosz kedge...@gmail.com: Other platforms are fine because there's ifdef for linux. As you said FreeBSD