Revision 1863 trunk/tests/test_nntpconnection_backend.c

test_nntpconnection_backend.c (revision 1863)
26 26
#include "nntpconnection_utils.h"
27 27
#include "nntpconnection_backend_native.h"
28 28

                
29
#if GLIB_CHECK_VERSION(2,22,0)
29
#ifdef HAVE_GIO_SOCKET
30 30
#include "nntpconnection_backend_gio.h"
31 31
#endif
32 32

                
... ...
216 216
    g_object_unref(conn);
217 217
}
218 218

                
219
#if GLIB_CHECK_VERSION(2,22,0)
219
#ifdef HAVE_GIO_SOCKET
220 220
static
221 221
void test_backend_gio(void)
222 222
{
... ...
248 248

                
249 249
    g_test_add_func("/nntpconnection/backend/native", test_backend_native);
250 250
    g_test_add_func("/nntpconnection/backend/native/ssl", test_backend_native_ssl);
251
#if GLIB_CHECK_VERSION(2,22,0)
251
#ifdef HAVE_GIO_SOCKET
252 252
    g_test_add_func("/nntpconnection/backend/gio", test_backend_gio);
253 253
#endif
254 254
#ifdef HAVE_GLIB_NETWORKING

Also available in: Unified diff