summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-02-12 14:20:21 +0200
committerTor Lillqvist <tml@collabora.com>2019-02-12 14:39:16 +0200
commit938553b5f9cfecbee9dc79cbcc3bc8d1d724213c (patch)
treea34d98fd364682452a01028e3e17773ccf0384bd
parentb5c50021c7b16ef24b4e739a680aa0f3be1e8531 (diff)
Put MOBILEAPP in the pre-canned config.h for iOS, too
Change-Id: Ic6a5f6cdf7b3102c8e926040311093a5a727ac3b
-rw-r--r--ios/Mobile.xcodeproj/project.pbxproj2
-rw-r--r--ios/config.h.in3
2 files changed, 3 insertions, 2 deletions
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