From 9dd52eb86a9122e34c307a9160ae3ccd5706c94e Mon Sep 17 00:00:00 2001 From: Ivan Timofeev Date: Fri, 19 Apr 2013 17:41:20 +0400 Subject: use GLIB_CHECK_VERSION instead of GLIB_VERSION_X_XX Michael Meeks pointed out that the latter can cause problems. Change-Id: I68e7f8c6dcfae52305738b2a8cdee72e9c2c7f93 --- ucb/source/ucp/gio/gio_provider.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ucb/source/ucp/gio') diff --git a/ucb/source/ucp/gio/gio_provider.cxx b/ucb/source/ucp/gio/gio_provider.cxx index acd6e14aca23..6737417c9b9d 100644 --- a/ucb/source/ucp/gio/gio_provider.cxx +++ b/ucb/source/ucp/gio/gio_provider.cxx @@ -100,7 +100,7 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpgio1_component_getFactory( co uno::Reference< lang::XMultiServiceFactory > xSMgr (reinterpret_cast< lang::XMultiServiceFactory * >( pServiceManager ) ); uno::Reference< lang::XSingleServiceFactory > xFactory; -#if !defined(GLIB_VERSION_2_36) +#if !GLIB_CHECK_VERSION(2,36,0) g_type_init(); #endif if ( !::gio::ContentProvider::getImplementationName_Static().compareToAscii( pImplName ) ) -- cgit