public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
* [binutils-gdb] Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin.
@ 2023-08-12  1:01 Alan Modra
  0 siblings, 0 replies; only message in thread
From: Alan Modra @ 2023-08-12  1:01 UTC (permalink / raw)
  To: bfd-cvs, gdb-cvs

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=af5478e1f3cee5741f68377eb5d60cdcf05ca858

commit af5478e1f3cee5741f68377eb5d60cdcf05ca858
Author: Martin Liska <mliska@suse.cz>
Date:   Mon Aug 7 13:07:37 2023 +0200

    Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin.
    
            PR gcov-profile/94570
            * ltmain.sh: Do not define HAVE_DOS_BASED_FILE_SYSTEM
            for CYGWIN.
    
    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
 
-#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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-12  1:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-12  1:01 [binutils-gdb] Do not use HAVE_DOS_BASED_FILE_SYSTEM for Cygwin Alan Modra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).