Skip to content

Commit 00f6fc9

Browse files
nvlsianpuAnas Nashif
authored and
Anas Nashif
committed
ext: lib: 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: Andrzej Puzdrowski <[email protected]>
1 parent ca1cb05 commit 00f6fc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/lib/encoding/tinycbor/src/compilersupport_p.h

+1-1
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)