include/LibreOfficeKit/LibreOfficeKitInit.h |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 7b694d8fe7802efa0f79b772b70362d7ee950add
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Wed Apr 16 14:31:22 2025 +0200
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Tue Aug 26 11:14:59 2025 +0200

    LibreOfficeKit is actually supported on macOS
    
    Change-Id: I9d00dc356d11533ca3f8b436bf44fdb2bf1c82f2

diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h 
b/include/LibreOfficeKit/LibreOfficeKitInit.h
index 38f893908619..5fae1e012ec7 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -35,12 +35,8 @@
         #define TARGET_LIB        "lib" "sofficeapp" ".dylib"
         #define TARGET_MERGED_LIB "lib" "mergedlo" ".dylib"
 
-        #if !defined TARGET_OS_IPHONE || TARGET_OS_IPHONE == 0
-            #if defined TARGET_OS_OSX && TARGET_OS_OSX == 1
-                #error LibreOfficeKit is not supported on macOS
-            #else
-                #error LibreOfficeKit is not supported on tvOS, visionOS or 
watchOS
-            #endif
+        #if (!defined TARGET_OS_IPHONE || TARGET_OS_IPHONE == 0) && (!defined 
TARGET_OS_OSX || TARGET_OS_OSX == 0)
+            #error LibreOfficeKit is not supported on tvOS, visionOS or watchOS
         #endif
     #else
         #define TARGET_LIB        "lib" "sofficeapp" ".so"

Reply via email to