https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107511
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jonathan Wakely <r...@gcc.gnu.org>: https://gcc.gnu.org/g:f505f37a8e5a7646af4038b5c46f72d8a05dc7f0 commit r13-3684-gf505f37a8e5a7646af4038b5c46f72d8a05dc7f0 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Nov 3 11:44:47 2022 +0000 libstdc++: Define _GNU_SOURCE for secure_getenv on Cygwin [PR107511] As in r12-6867-ge20486d508afdf we need to define _GNU_SOURCE explicitly for Cygwin, because configure finds it in libc but it isn't declared unless we request it. libstdc++-v3/ChangeLog: PR libstdc++/107511 * libsupc++/eh_alloc.cc (_GNU_SOURCE): Define.