|
||||
File indexing completed on 2025-01-18 09:54:05
0001 0002 // Copyright Catch2 Authors 0003 // Distributed under the Boost Software License, Version 1.0. 0004 // (See accompanying file LICENSE.txt or copy at 0005 // https://www.boost.org/LICENSE_1_0.txt) 0006 0007 // SPDX-License-Identifier: BSL-1.0 0008 0009 /** \file 0010 * Wrapper for ANDROID_LOGWRITE configuration option 0011 * 0012 * We want to default to enabling it when compiled for android, but 0013 * users of the library should also be able to disable it if they want 0014 * to. 0015 */ 0016 0017 #ifndef CATCH_CONFIG_ANDROID_LOGWRITE_HPP_INCLUDED 0018 #define CATCH_CONFIG_ANDROID_LOGWRITE_HPP_INCLUDED 0019 0020 #include <catch2/catch_user_config.hpp> 0021 0022 #if defined(__ANDROID__) 0023 # define CATCH_INTERNAL_CONFIG_ANDROID_LOGWRITE 0024 #endif 0025 0026 0027 #if defined( CATCH_INTERNAL_CONFIG_ANDROID_LOGWRITE ) && \ 0028 !defined( CATCH_CONFIG_NO_ANDROID_LOGWRITE ) && \ 0029 !defined( CATCH_CONFIG_ANDROID_LOGWRITE ) 0030 # define CATCH_CONFIG_ANDROID_LOGWRITE 0031 #endif 0032 0033 #endif // CATCH_CONFIG_ANDROID_LOGWRITE_HPP_INCLUDED
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |