diff options
author | jan Iversen <jani@libreoffice.org> | 2017-10-17 13:59:57 +0200 |
---|---|---|
committer | jan Iversen <jani@libreoffice.org> | 2017-10-17 16:16:45 +0200 |
commit | b9866cb282f4f21c43b9c6b119710460dba7ddbd (patch) | |
tree | 99d4e7f50db91ef53e2eee178ed90f3b0223b2f3 /include/LibreOfficeKit | |
parent | ebb5c71c80f410d624313805a3073ea21be6ca12 (diff) |
iOS, changed define to IOS
TARGET_OS_IPHONE not defined, but IOS are.
Change-Id: I5a12b0cb386b8968101264f8fb17d745e5c1790f
Diffstat (limited to 'include/LibreOfficeKit')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitInit.h | 6 |
1 files changed, 3 insertions, 3 deletions
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; |