commit | a83c64f567ec7f161b8efb87205d44a2fbbf36f8 | [log] [tgz] |
---|---|---|
author | Jon Turney <jon.turney@dronecode.org.uk> | Wed Nov 02 13:16:16 2022 +0000 |
committer | Jon Turney <jon.turney@dronecode.org.uk> | Sun Nov 13 14:46:20 2022 +0000 |
tree | d4abd808b99b459bd117210690fe84b8bc89004f | |
parent | 90f902daf5edb817d57b5e377d7ad54948a5a9f4 [diff] |
Fix Cygwin build after 02d04eac Commit 02d04eac "Use strwinerror in gdb/windows-nat.c" also moves strwinerror() under the USE_WIN32API conditional, which is not defined for Cygwin (and looks like it shouldn't be, as appears to imply non-POSIX and MiNGW and WinSock...) Also enable the declaration and definition of strwinerror() when __CYGWIN__ is defined.