diff options
author | Martin Liska <mliska@suse.cz> | 2023-08-07 13:07:37 +0200 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2023-08-12 10:25:06 +0930 |
commit | af5478e1f3cee5741f68377eb5d60cdcf05ca858 (patch) | |
tree | 92ce55a8562026cb4a3b09e280ee3047ceac12ff | |
parent | 445ae0cf004aeb0d0f9eadd407dbcfe11b745a9f (diff) | |
download | binutils-af5478e1f3cee5741f68377eb5d60cdcf05ca858.zip binutils-af5478e1f3cee5741f68377eb5d60cdcf05ca858.tar.gz binutils-af5478e1f3cee5741f68377eb5d60cdcf05ca858.tar.bz2 |
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>
-rw-r--r-- | ltmain.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |