mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-11-08 14:10:11 +01:00
CMake: adds option FF_ENABLE_WCWIDTH
This commit is contained in:
@@ -2,4 +2,11 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#if FF_ENABLE_WCWIDTH
|
||||
int mk_wcwidth(uint32_t wc);
|
||||
#else
|
||||
static inline int mk_wcwidth(uint32_t wc) {
|
||||
(void) wc;
|
||||
return 1;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user