diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-03-28 11:20:11 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-03-28 11:20:11 +0000 |
| commit | a8c5168516fa9f33cc7374ef69ce7d2d45164246 (patch) | |
| tree | d499c7a6d8601a277ad805e36370c0939105995d /foot-features.h | |
| parent | readme: dpi & fonts: focus on *current* behavior (diff) | |
| parent | meson: replace log+debug+xmalloc static libraries with a single ‘common’ library (diff) | |
Merge branch 'pgo-clang-11'
Closes #418
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 +} |
