From: Max Kellermann Date: Sat, 25 Mar 2017 20:32:43 +0000 (+0100) Subject: wreadln: fix #ifdef for WIN32 X-Git-Tag: v0.27~3 X-Git-Url: https://git.tokkee.org/?p=ncmpc.git;a=commitdiff_plain;h=b3e29d017a77d1cd34bfde94bd7182422e6d695c wreadln: fix #ifdef for WIN32 --- diff --git a/src/wreadln.c b/src/wreadln.c index 4dde082..95267e2 100644 --- a/src/wreadln.c +++ b/src/wreadln.c @@ -286,7 +286,7 @@ static inline void drawline(const struct wreadln *wr) doupdate(); } -#if defined(HAVE_CURSES_ENHANCED) || defined(ENABLE_MULTIBYTE) +#if (defined(HAVE_CURSES_ENHANCED) || defined(ENABLE_MULTIBYTE)) && !defined(WIN32) static bool multibyte_is_complete(const char *p, size_t length) {