diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-28 12:24:38 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-28 12:24:38 +0000 |
| commit | 0d0ebebb64980be47c948a1c712925c100bb4ebd (patch) | |
| tree | 3812d1a380f74d30747402ce54efd1f1a694cf87 /foot-features.h | |
| parent | changelog: 1.7.0 (diff) | |
| parent | Merge branch 'search-treat-empty-cells-as-spaces' (diff) | |
Merge branch 'master' into releases/1.7
Diffstat (limited to 'foot-features.h')
| -rw-r--r-- | foot-features.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/foot-features.h b/foot-features.h index 8da22f6c..ae00c564 100644 --- a/foot-features.h +++ b/foot-features.h @@ -10,3 +10,12 @@ static inline bool feature_ime(void) return false; #endif } + +static inline bool feature_pgo(void) +{ +#if defined(FOOT_PGO_ENABLED) && FOOT_PGO_ENABLED + return true; +#else + return false; +#endif +} |
