diff options
author | Martin Liska <mliska@suse.cz> | 2020-04-17 09:22:51 +0200 |
---|---|---|
committer | Martin Liska <mliska@suse.cz> | 2020-04-17 09:22:51 +0200 |
commit | e9f799d25973fc38022c5ea71ed5a2bca58a847f (patch) | |
tree | 45d891055925f87dfb3bb0fd48d29cf1241e29c3 /include | |
parent | 61b58e7fa5aea3ef0c7db2d9f75d17d65dff56a3 (diff) | |
download | gcc-e9f799d25973fc38022c5ea71ed5a2bca58a847f.tar.gz |
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.
PR gcov-profile/94570
* coverage.c (coverage_init): Use separator properly.
PR gcov-profile/94570
* filenames.h (defined): Do not define HAVE_DOS_BASED_FILE_SYSTEM
for CYGWIN.
Co-Authored-By: Jonathan Yong <10walls@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/ChangeLog | 7 | ||||
-rw-r--r-- | include/filenames.h | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index ce2297a1eb4..bbfd6a674cf 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,10 @@ +2020-04-17 Martin Liska <mliska@suse.cz> + Jonathan Yong <10walls@gmail.com> + + PR gcov-profile/94570 + * filenames.h (defined): Do not define HAVE_DOS_BASED_FILE_SYSTEM + for CYGWIN. + 2020-04-01 Maciej W. Rozycki <macro@linux-mips.org> PR lto/94249 diff --git a/include/filenames.h b/include/filenames.h index 1ed441221ac..fcde22767de 100644 --- a/include/filenames.h +++ b/include/filenames.h @@ -32,7 +32,8 @@ Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. extern "C" { #endif -#if defined(__MSDOS__) || defined(_WIN32) || defined(__OS2__) || defined (__CYGWIN__) +#if defined(__MSDOS__) || (defined(_WIN32) && ! defined(__CYGWIN__)) || \ + defined(__OS2__) # ifndef HAVE_DOS_BASED_FILE_SYSTEM # define HAVE_DOS_BASED_FILE_SYSTEM 1 # endif |