X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=ncurses%2Fwidechar%2Fwidechars.c;h=d05ba98a8265fa5ad53d852f159ccc9488017034;hp=28c362aa628c0e910c6774b37ee830b0d2b32d79;hb=312665d3aaaf5d8e3ba34d80fdd650abf758272a;hpb=5da4544722decdeb2bfd0c7c4581af0ea62148f9 diff --git a/ncurses/widechar/widechars.c b/ncurses/widechar/widechars.c index 28c362aa..d05ba98a 100644 --- a/ncurses/widechar/widechars.c +++ b/ncurses/widechar/widechars.c @@ -1,5 +1,6 @@ /**************************************************************************** - * Copyright (c) 2012-2013,2018 Free Software Foundation, Inc. * + * Copyright 2018,2020 Thomas E. Dickey * + * Copyright 2012,2013 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -30,9 +31,9 @@ #if USE_WIDEC_SUPPORT -MODULE_ID("$Id: widechars.c,v 1.6 2018/06/24 00:06:37 tom Exp $") +MODULE_ID("$Id: widechars.c,v 1.9 2020/08/29 16:22:03 juergen Exp $") -#if defined(_WIN32) +#if (defined(_NC_WINDOWS)) && !defined(_NC_MSC) /* * MinGW has wide-character functions, but they do not work correctly. */ @@ -147,6 +148,6 @@ _nc_wctomb(char *s, wchar_t wc) return result; } -#endif /* _WIN32 */ +#endif /* _NC_WINDOWS */ #endif /* USE_WIDEC_SUPPORT */