[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix building for Windows
From: |
Benno Schulenberg |
Subject: |
Re: [PATCH] fix building for Windows |
Date: |
Tue, 1 Mar 2022 11:08:59 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 |
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
- Re: [PATCH] fix building for Windows,
Benno Schulenberg <=