diff options
author | Gleb Popov <6yearold@gmail.com> | 2020-10-15 15:10:02 +0400 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2020-10-16 09:40:07 +0200 |
commit | bebecd0e9a1076a5aeed951e7e5ee57a33d1c3b8 (patch) | |
tree | d79415a28805e8140e5fd90563371800c9b5e0ed /include/LibreOfficeKit | |
parent | d0f072e8c223247f79268f4d1278dcd6aa5c624e (diff) |
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 <tml@collabora.com>
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitInit.h | 2 |
1 files changed, 1 insertions, 1 deletions
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__) |