tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
workarounds.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSL-1.0
2// SPDX-FileCopyrightText: Copyright (C) 2019 Tobias Hienzsch
3
4#ifndef TETL_CONFIG_WORKAROUNDS_HPP
5#define TETL_CONFIG_WORKAROUNDS_HPP
6
7#if defined(__AVR__)
8 // Some tests are failing on AVR builds probably due to sizeof(int) == 2 and
9 // sizeof(double) != 8. Search for this macro to see all places where tests
10 // are explicitly disabled.
11 #define TETL_WORKAROUND_AVR_BROKEN_TESTS 1
12#endif
13
14#endif // TETL_CONFIG_WORKAROUNDS_HPP