[Libreoffice-commits] online.git: ios/config.h.in ios/Mobile.xcodeproj

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Feb 12 13:39:03 UTC 2019


 ios/Mobile.xcodeproj/project.pbxproj |    2 --
 ios/config.h.in                      |    3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

New commits:
commit 938553b5f9cfecbee9dc79cbcc3bc8d1d724213c
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Tue Feb 12 14:20:21 2019 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Tue Feb 12 14:39:16 2019 +0200

    Put MOBILEAPP in the pre-canned config.h for iOS, too
    
    Change-Id: Ic6a5f6cdf7b3102c8e926040311093a5a727ac3b

diff --git a/ios/Mobile.xcodeproj/project.pbxproj b/ios/Mobile.xcodeproj/project.pbxproj
index 001a71bbd..be74b6395 100644
--- a/ios/Mobile.xcodeproj/project.pbxproj
+++ b/ios/Mobile.xcodeproj/project.pbxproj
@@ -1694,7 +1694,6 @@
 				DEVELOPMENT_TEAM = J4FQ687VJK;
 				ENABLE_BITCODE = NO;
 				GCC_PREPROCESSOR_DEFINITIONS = (
-					"MOBILEAPP=1",
 					"IOS=IOS",
 					"DISABLE_DYNLOADING=1",
 					"DEBUG=1",
@@ -1754,7 +1753,6 @@
 				DEVELOPMENT_TEAM = J4FQ687VJK;
 				ENABLE_BITCODE = NO;
 				GCC_PREPROCESSOR_DEFINITIONS = (
-					"MOBILEAPP=1",
 					"IOS=IOS",
 					"DISABLE_DYNLOADING=1",
 					"LOOLWSD_CONFIGDIR='\".\"'",
diff --git a/ios/config.h.in b/ios/config.h.in
index 18ca58e4e..c355439cd 100644
--- a/ios/config.h.in
+++ b/ios/config.h.in
@@ -87,6 +87,9 @@
 /* Limit the maximum number of open documents */
 #define MAX_DOCUMENTS 1
 
+/* Define to 1 if this is a mobileapp (eg. Android) build. */
+#define MOBILEAPP 1
+
 /* Name of package */
 #undef PACKAGE
 


More information about the Libreoffice-commits mailing list