Merge pull request #280 from omasanori/float

Add `ieee-float` feature iff PIC_ENABLE_FLOAT.
This commit is contained in:
OGINO Masanori 2015-06-30 10:31:35 +09:00
commit 214c18adcf
1 changed files with 3 additions and 0 deletions

View File

@ -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");