Re: [PATCH] fix building for Windows

Benno Schulenberg <[email protected]>
Newsgroups gmane.editors.nano.devel
Message-ID <[email protected]>
Op 26-02-2022 om 08:15 schreef Mike Frysinger:
> Fix building with x86_64-w64-mingw32 to cross-compile native Windows
> programs.  Need to:
> * add checks for missing functions
> * don't use signals that are unavailable on the platform
> * avoid useless non-Linux sys/ioctl.h include
> * use putenv instead of setenv as the latter is unavailable
> ---
>  configure.ac |  1 +
>  src/files.c  | 24 ++++++++++++++++++++++--
>  src/nano.c   | 12 +++++++++---
>  src/text.c   |  6 ++++++
>  4 files changed, 38 insertions(+), 5 deletions(-)

Thanks.  Pushed, with some tweaks:

  https://git.savannah.gnu.org/cgit/nano.git/commit/?id=8173b1bf

Benno
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.