tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
001_avr_macros.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// This header needs to be included after every include of a standard C
5// header. AVR defines the macros listed below. It doesn't have any include
6// guards on purpose.
7
8#if defined(__AVR__)
9 #undef abs
10 #undef acosf
11 #undef asinf
12 #undef atan2f
13 #undef atanf
14 #undef cbrtf
15 #undef ceilf
16 #undef copysignf
17 #undef cosf
18 #undef coshf
19 #undef expf
20 #undef fabsf
21 #undef fdimf
22 #undef floorf
23 #undef fmaf
24 #undef fmaxf
25 #undef fminf
26 #undef fmodf
27 #undef frexpf
28 #undef hypotf
29 #undef isfinitef
30 #undef isinff
31 #undef ldexpf
32 #undef log10f
33 #undef logf
34 #undef lrintf
35 #undef lroundf
36 #undef powf
37 #undef roundf
38 #undef signbitf
39 #undef sinf
40 #undef sinhf
41 #undef squaref
42 #undef tanf
43 #undef tanhf
44 #undef truncf
45#endif