~vcs-imports/nano/master

Viewing all changes in revision 9973.

  • Committer: Benno Schulenberg
  • Author(s): Mike Frysinger
  • Date: 2022-03-01 10:05:07 UTC
  • Revision ID: git-v1:8173b1bfbe8956959df98bd0074e9290ce0112a3
general: fix building for Windows

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

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: