Add `ieee-float` feature iff PIC_ENABLE_FLOAT.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
OGINO Masanori 2015-06-30 10:06:11 +09:00
parent 6d2966e946
commit 04dc5c3176
1 changed files with 3 additions and 0 deletions

View File

@ -48,7 +48,10 @@ static void
pic_init_features(pic_state *pic)
{
pic_add_feature(pic, "picrin");
#if PIC_ENABLE_FLOAT
pic_add_feature(pic, "ieee-float");
#endif
#if _POSIX_SOURCE
pic_add_feature(pic, "posix");