Skip to content

Commit 17548c5

Browse files
committed
tinycbor: fix half-FP feature compilation
half-FP feature requires <math.h> form newlib_libc. It was include wrongly by default. This path fix conduction for related include directive. Signed-off-by: Anas Nashif <[email protected]>
1 parent b03483b commit 17548c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compilersupport_p.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ extern "C" {
4141
# include <assert.h>
4242
#endif
4343
#include <float.h>
44-
#ifndef CBOR_NO_FLOATING_TYPE
44+
#ifndef CBOR_NO_HALF_FLOAT_TYPE
4545
#include <math.h>
4646
#endif
4747
#include <stddef.h>

0 commit comments

Comments
 (0)