aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2-devel/files/patch-i98781
blob: 90f951045aa8d2a64401a251d292a55c83eb0084 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
http://www.openoffice.org/issues/show_bug.cgi?id=98781
http://www.openoffice.org/issues/show_bug.cgi?id=82690
http://www.freebsd.org/cgi/query-pr.cgi?pr=127946

--- bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx	2009-06-14 07:53:52.000000000 +0900
+++ bridges/source/cpp_uno/gcc3_freebsd_intel/except.cxx	2009-06-14 07:56:37.000000000 +0900
@@ -126,7 +126,7 @@
 };
 //__________________________________________________________________________________________________
 RTTI::RTTI() SAL_THROW( () )
-#if __FreeBSD_version < 602103
+#ifdef FREEBSD /* #i22253# */
     : m_hApp( dlopen( 0, RTLD_NOW | RTLD_GLOBAL ) )
 #else
     : m_hApp( dlopen( 0, RTLD_LAZY ) )
@@ -165,7 +165,7 @@
         buf.append( 'E' );
 
         OString symName( buf.makeStringAndClear() );
-#if __FreeBSD_version < 602103 /* #i22253# */
+#ifdef FREEBSD /* #i22253# */
         rtti = (type_info *)dlsym( RTLD_DEFAULT, symName.getStr() );
 #else
         rtti = (type_info *)dlsym( m_hApp, symName.getStr() );