Code

wreadln: fix #ifdef for WIN32
[ncmpc.git] / src / wreadln.c
index 4dde082aa2948e78f9ef4f38619188c2f940cfe8..95267e28d539d28a79b77cf734c23e1a67320fcb 100644 (file)
@@ -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)
 {