Add `ieee-float` feature iff PIC_ENABLE_FLOAT.
Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
parent
6d2966e946
commit
04dc5c3176
|
@ -48,7 +48,10 @@ static void
|
||||||
pic_init_features(pic_state *pic)
|
pic_init_features(pic_state *pic)
|
||||||
{
|
{
|
||||||
pic_add_feature(pic, "picrin");
|
pic_add_feature(pic, "picrin");
|
||||||
|
|
||||||
|
#if PIC_ENABLE_FLOAT
|
||||||
pic_add_feature(pic, "ieee-float");
|
pic_add_feature(pic, "ieee-float");
|
||||||
|
#endif
|
||||||
|
|
||||||
#if _POSIX_SOURCE
|
#if _POSIX_SOURCE
|
||||||
pic_add_feature(pic, "posix");
|
pic_add_feature(pic, "posix");
|
||||||
|
|
Loading…
Reference in New Issue