summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/src/mbgl/test/util.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/src/mbgl/test/util.hpp b/test/src/mbgl/test/util.hpp
index 42c7316691..3733430d3f 100644
--- a/test/src/mbgl/test/util.hpp
+++ b/test/src/mbgl/test/util.hpp
@@ -4,9 +4,13 @@
#include <TargetConditionals.h>
#endif
+#if TARGET_OS_IOS
#define TEST_READ_ONLY 1
#define TEST_HAS_SERVER 0
-
+#else
+#define TEST_READ_ONLY 0
+#define TEST_HAS_SERVER 1
+#endif
#if TARGET_OS_SIMULATOR
#define TEST_IS_SIMULATOR 1