diff options
| author | bakkeby <[email protected]> | 2020-08-24 15:03:55 +0200 |
|---|---|---|
| committer | bakkeby <[email protected]> | 2020-08-24 15:03:55 +0200 |
| commit | df57bdeb64a1673276ab6fb2ed00fd6c9ad3c2b1 (patch) | |
| tree | 0070900225cca2864bc367ebe14763dc363e6799 /drw.c | |
| parent | 7ce66bf122fd8b7288a5e0ddf0d0e312a0f08456 (diff) | |
| download | dwm-flexipatch-df57bdeb64a1673276ab6fb2ed00fd6c9ad3c2b1.tar.gz dwm-flexipatch-df57bdeb64a1673276ab6fb2ed00fd6c9ad3c2b1.zip | |
Identified and fixed a few more cross-compilation issues
Diffstat (limited to 'drw.c')
| -rw-r--r-- | drw.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -17,10 +17,13 @@ static const unsigned char utfbyte[UTF_SIZ + 1] = {0x80, 0, 0xC0, 0xE0, 0xF0} static const unsigned char utfmask[UTF_SIZ + 1] = {0xC0, 0x80, 0xE0, 0xF0, 0xF8}; static const long utfmin[UTF_SIZ + 1] = { 0, 0, 0x80, 0x800, 0x10000}; static const long utfmax[UTF_SIZ + 1] = {0x10FFFF, 0x7F, 0x7FF, 0xFFFF, 0x10FFFF}; +#endif // BAR_PANGO_PATCH + #if BAR_POWERLINE_TAGS_PATCH || BAR_POWERLINE_STATUS_PATCH Clr transcheme[3]; #endif // BAR_POWERLINE_TAGS_PATCH | BAR_POWERLINE_STATUS_PATCH +#if !BAR_PANGO_PATCH static long utf8decodebyte(const char c, size_t *i) { @@ -333,7 +336,7 @@ drw_scm_create( return ret; } -#if !PANGO_PATCH +#if !BAR_PANGO_PATCH void drw_setfontset(Drw *drw, Fnt *set) { |
