unix and linux feature may coexist

This commit is contained in:
Yuichi Nishiwaki 2014-09-12 17:36:28 +09:00
parent edcc26466c
commit f9e603f32b
1 changed files with 4 additions and 2 deletions

6
init.c
View File

@ -57,9 +57,11 @@ pic_init_features(pic_state *pic)
#if __unix__ #if __unix__
pic_add_feature(pic, "unix"); pic_add_feature(pic, "unix");
#elif __gnu_linux__ #endif
#if __gnu_linux__
pic_add_feature(pic, "gnu-linux"); pic_add_feature(pic, "gnu-linux");
#elif __FreeBSD__ #endif
#if __FreeBSD__
pic_add_feature(pic, "freebsd"); pic_add_feature(pic, "freebsd");
#endif #endif