[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw |
Date: |
Fri, 2 Oct 2020 19:49:38 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 |
On 02/10/20 19:47, 罗勇刚(Yonggang Luo) wrote:
> Because the configure script change far more complicated than you
> imgaine. And I post that before
Daniel is literally asking for a two-line change:
diff --git a/configure b/configure
index fee5faa054..ffd72b571d 100755
--- a/configure
+++ b/configure
@@ -3671,7 +3671,6 @@ if test "$curses" != "no" ; then
#include <locale.h>
#include <curses.h>
#include <wchar.h>
-#include <langinfo.h>
int main(void) {
const char *codeset;
wchar_t wch = L'w';
@@ -3680,7 +3679,6 @@ int main(void) {
addwstr(L"wide chars\n");
addnwstr(&wch, 1);
add_wch(WACS_DEGREE);
- codeset = nl_langinfo(CODESET);
return codeset != 0;
}
EOF
Paolo
- [PATCH v6 0/4] Fixes curses on msys2/mingw, Yonggang Luo, 2020/10/01
- [PATCH v6 1/4] configure: fixes indent of $meson setup, Yonggang Luo, 2020/10/01
- [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw, Yonggang Luo, 2020/10/01
- Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw, Daniel P . Berrangé, 2020/10/02
- Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw, Yonggang Luo, 2020/10/02
- Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw, Daniel P . Berrangé, 2020/10/02
- Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw, Paolo Bonzini, 2020/10/02
- Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw, Yonggang Luo, 2020/10/02
- Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw,
Paolo Bonzini <=
- Re: [PATCH v6 2/4] curses: Fixes compiler error that complain don't have langinfo.h on msys2/mingw, Yonggang Luo, 2020/10/02
[PATCH v6 3/4] curses: Fixes curses compiling errors., Yonggang Luo, 2020/10/01
[PATCH v6 4/4] win32: Simplify gmtime_r detection not depends on if _POSIX_C_SOURCE are defined on msys2/mingw, Yonggang Luo, 2020/10/01
Re: [PATCH v6 0/4] Fixes curses on msys2/mingw, Paolo Bonzini, 2020/10/01