X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fwidechar%2Fwidechars.c;h=d05ba98a8265fa5ad53d852f159ccc9488017034;hp=05c75fb1004bf7c2e7a30ad9dd0f36477b7d5a95;hb=HEAD;hpb=d61c3c6a831d18ef0ed6f797ac97d60fffc2f158 diff --git a/ncurses/widechar/widechars.c b/ncurses/widechar/widechars.c index 05c75fb1..d05ba98a 100644 --- a/ncurses/widechar/widechars.c +++ b/ncurses/widechar/widechars.c @@ -31,9 +31,9 @@ #if USE_WIDEC_SUPPORT -MODULE_ID("$Id: widechars.c,v 1.8 2020/07/11 20:48:42 anonymous.maarten Exp $") +MODULE_ID("$Id: widechars.c,v 1.9 2020/08/29 16:22:03 juergen Exp $") -#if defined(_WIN32) && !defined(_MSC_VER) +#if (defined(_NC_WINDOWS)) && !defined(_NC_MSC) /* * MinGW has wide-character functions, but they do not work correctly. */ @@ -148,6 +148,6 @@ _nc_wctomb(char *s, wchar_t wc) return result; } -#endif /* _WIN32 */ +#endif /* _NC_WINDOWS */ #endif /* USE_WIDEC_SUPPORT */