diff options
author | albert-github <albert.tests@gmail.com> | 2019-06-15 09:47:51 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-06-15 09:47:51 (GMT) |
commit | 3a9964f4e096a030a2aac0a4a3688ba996715a27 (patch) | |
tree | 9dfd293c9019eb1b59a8cb382d037c6b116038a8 /src/util.cpp | |
parent | b925eb42e8a63ad2334ac18e0c78d5dc997dbdc9 (diff) | |
download | Doxygen-3a9964f4e096a030a2aac0a4a3688ba996715a27.zip Doxygen-3a9964f4e096a030a2aac0a4a3688ba996715a27.tar.gz Doxygen-3a9964f4e096a030a2aac0a4a3688ba996715a27.tar.bz2 |
Cygwin should by default also have `CASE_SENS_NAMES=NO`
Cygwin should by default also have `CASE_SENS_NAMES=NO` like is the case for the underlying Windows.
In case of Cygwin the define `_WIN32` is not set so we also have to test for `__CYGWIN__`
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp index a6ae004..338b10c 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -5129,7 +5129,7 @@ FileDef *findFileDef(const FileNameDict *fnDict,const char *n,bool &ambig) if (fn->count()==1) { FileDef *fd = fn->getFirst(); -#if defined(_WIN32) || defined(__MACOSX__) // Windows or MacOSX +#if defined(_WIN32) || defined(__MACOSX__) || defined(__CYGWIN__) // Windows or MacOSX bool isSamePath = fd->getPath().right(path.length()).lower()==path.lower(); #else // Unix bool isSamePath = fd->getPath().right(path.length())==path; @@ -8138,7 +8138,7 @@ bool patternMatch(const QFileInfo &fi,const QStrList *patList) bool found = FALSE; // For Windows/Mac, always do the case insensitive match -#if defined(_WIN32) || defined(__MACOSX__) +#if defined(_WIN32) || defined(__MACOSX__) || defined(__CYGWIN__) caseSenseNames = FALSE; #endif |