Skip to content

Commit

Permalink
ext: lib: tinycbor: fix half-FP feature compilation
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
nvlsianpu authored and Anas Nashif committed Apr 6, 2018
1 parent ca1cb05 commit 00f6fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/lib/encoding/tinycbor/src/compilersupport_p.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ extern "C" {
# include <assert.h>
#endif
#include <float.h>
#ifndef CBOR_NO_FLOATING_TYPE
#ifndef CBOR_NO_HALF_FLOAT_TYPE
#include <math.h>
#endif
#include <stddef.h>
Expand Down

0 comments on commit 00f6fc9

Please sign in to comment.