include/LibreOfficeKit/LibreOfficeKitInit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit bebecd0e9a1076a5aeed951e7e5ee57a33d1c3b8 Author: Gleb Popov <[email protected]> AuthorDate: Thu Oct 15 15:10:02 2020 +0400 Commit: Tor Lillqvist <[email protected]> CommitDate: Fri Oct 16 09:40:07 2020 +0200 Fix another misuse of __FreeBSD_kernel__ define in LibreOfficeKitInit.h. The #if in question clearly checks for an operating system, not the kernel only. Fixes build on FreeBSD. Change-Id: Ib9452056a0d28f685fbae0b4bca65ed814cfd1cc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104371 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <[email protected]> diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h index c00c33193648..ff541fb2c113 100644 --- a/include/LibreOfficeKit/LibreOfficeKitInit.h +++ b/include/LibreOfficeKit/LibreOfficeKitInit.h @@ -23,7 +23,7 @@ extern "C" # define LOK_TOLERATE_UNUSED #endif -#if defined(__linux__) || defined (__FreeBSD_kernel__) || defined(_AIX) ||\ +#if defined(__linux__) || defined (__FreeBSD__) || defined(_AIX) ||\ defined(_WIN32) || defined(__APPLE__) || defined (__NetBSD__) ||\ defined (__sun) || defined(__OpenBSD__) _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
