Revert "Pull package/{luci,system,network} from upstream"
[librecmc/librecmc.git] / package / network / services / hostapd / src / src / utils / build_features.h
1 #ifndef BUILD_FEATURES_H
2 #define BUILD_FEATURES_H
3
4 static inline int has_feature(const char *feat)
5 {
6 #ifdef IEEE8021X_EAPOL
7         if (!strcmp(feat, "eap"))
8                 return 1;
9 #endif
10 #ifdef IEEE80211N
11         if (!strcmp(feat, "11n"))
12                 return 1;
13 #endif
14         return 0;
15 }
16
17 #endif /* BUILD_FEATURES_H */