Add disabling the use of Android's logging at compile time

This is done via the new compile time toggle,
`CATCH_CONFIG_ANDROID_LOGWRITE`.

Closes #1743
This commit is contained in:
Martin Hořeňovský
2019-09-06 12:41:42 +02:00
parent 18d597cf10
commit 155274f0df
3 changed files with 11 additions and 2 deletions

View File

@@ -7,11 +7,12 @@
*/
#include "catch_debug_console.h"
#include "catch_compiler_capabilities.h"
#include "catch_stream.h"
#include "catch_platform.h"
#include "catch_windows_h_proxy.h"
#if defined(__ANDROID__)
#if defined(CATCH_CONFIG_ANDROID_LOGWRITE)
#include <android/log.h>
namespace Catch {