From b9866cb282f4f21c43b9c6b119710460dba7ddbd Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 17 Oct 2017 13:59:57 +0200 Subject: iOS, changed define to IOS TARGET_OS_IPHONE not defined, but IOS are. Change-Id: I5a12b0cb386b8968101264f8fb17d745e5c1790f --- include/LibreOfficeKit/LibreOfficeKitInit.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/LibreOfficeKit') diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h index 73e2bbb83dfd..f9610f1f02fc 100644 --- a/include/LibreOfficeKit/LibreOfficeKitInit.h +++ b/include/LibreOfficeKit/LibreOfficeKitInit.h @@ -42,7 +42,7 @@ extern "C" #endif #define SEPARATOR '/' -#if !defined(TARGET_OS_IPHONE) +#if !defined(IOS) static void *lok_loadlib(const char *pFN) { return dlopen(pFN, RTLD_LAZY @@ -68,7 +68,7 @@ extern "C" { (void)pPath; } -#endif // TARGET_OS_IPHONE +#endif // IOS static void *lok_dlsym(void *Hnd, const char *pName) { @@ -169,7 +169,7 @@ static void *lok_dlopen( const char *install_path, char ** _imp_lib ) char *imp_lib; void *dlhandle; -#if !defined(TARGET_OS_IPHONE) +#if !defined(IOS) size_t partial_length, imp_lib_size; struct stat dir_st; -- cgit