From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1062) id 8C9783858D32; Sat, 12 Aug 2023 01:01:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8C9783858D32 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Alan Modra To: bfd-cvs@sourceware.org, gdb-cvs@sourceware.org Subject: [binutils-gdb] Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin. X-Act-Checkin: binutils-gdb X-Git-Author: Martin Liska X-Git-Refname: refs/heads/master X-Git-Oldrev: 445ae0cf004aeb0d0f9eadd407dbcfe11b745a9f X-Git-Newrev: af5478e1f3cee5741f68377eb5d60cdcf05ca858 Message-Id: <20230812010144.8C9783858D32@sourceware.org> Date: Sat, 12 Aug 2023 01:01:44 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2023 01:01:44 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Daf5478e1f3ce= e5741f68377eb5d60cdcf05ca858 commit af5478e1f3cee5741f68377eb5d60cdcf05ca858 Author: Martin Liska Date: Mon Aug 7 13:07:37 2023 +0200 Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin. =20 PR gcov-profile/94570 * ltmain.sh: Do not define HAVE_DOS_BASED_FILE_SYSTEM for CYGWIN. =20 Co-Authored-By: Jonathan Yong <10walls@gmail.com> Diff: --- ltmain.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltmain.sh b/ltmain.sh index 79f9ba89af5..70990740b6c 100644 --- a/ltmain.sh +++ b/ltmain.sh @@ -3425,8 +3425,8 @@ int setenv (const char *, const char *, int); # define PATH_SEPARATOR ':' #endif =20 -#if defined (_WIN32) || defined (__MSDOS__) || defined (__DJGPP__) || \ - defined (__OS2__) +#if (defined (_WIN32) && ! defined(__CYGWIN__)) || defined (__MSDOS__) || \ + defined (__DJGPP__) || defined (__OS2__) # define HAVE_DOS_BASED_FILE_SYSTEM # define FOPEN_WB "wb" # ifndef DIR_SEPARATOR_2