[Libreoffice] [PATCH 3/3] use linux bridge code on all BSDs

Robert Nagy robert at openbsd.org
Thu Nov 4 09:19:35 PDT 2010


On (2010-11-04 16:53), Thomas Klausner wrote:
> One thing though: there are some checks for FreeBSD version like:
> 
> +#if __FreeBSD_version < 602103
> +    : m_hApp( dlopen( 0, RTLD_NOW | RTLD_GLOBAL ) )
> +#else
>      : m_hApp( dlopen( 0, RTLD_LAZY ) )
> +#endif
> 
> a) does this work as intended on Linux? I think __FreeBSD_version not
> defined, Linux might fall into the if-case instead of the else as now,
> so we probably have to reverse this test. (The attached test case on
> NetBSD falls into #if, not #else.)
> b) FreeBSD have changed the version to 702104, we should pull that in
> with this change.

That is correct, let me fix that.


More information about the LibreOffice mailing list