summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2019-06-16 10:48:40 (GMT)
committerGitHub <noreply@github.com>2019-06-16 10:48:40 (GMT)
commitec6d35f6bedbaea9786933bc70df7160be0ac65e (patch)
treedd0caf00afed5ad981afb42e670ca14a007b5443 /src
parentb44b9cddb75dbe5b9a212d3bfc6a6216b62174d4 (diff)
parent3a9964f4e096a030a2aac0a4a3688ba996715a27 (diff)
downloadDoxygen-ec6d35f6bedbaea9786933bc70df7160be0ac65e.zip
Doxygen-ec6d35f6bedbaea9786933bc70df7160be0ac65e.tar.gz
Doxygen-ec6d35f6bedbaea9786933bc70df7160be0ac65e.tar.bz2
Merge pull request #7056 from albert-github/feature/bug_cygwin_defaults
Cygwin should by default also have `CASE_SENSE_NAMES=NO`
Diffstat (limited to 'src')
-rw-r--r--src/config.xml4
-rw-r--r--src/portable.cpp2
-rw-r--r--src/util.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/config.xml b/src/config.xml
index 0bf34a8..f3b16a8 100644
--- a/src/config.xml
+++ b/src/config.xml
@@ -960,8 +960,8 @@ Go to the <a href="commands.html">next</a> section or return to the
will only generate file names in lower-case letters. If set to
\c YES, upper-case letters are also allowed. This is useful if you have
classes or files whose names only differ in case and if your file system
- supports case sensitive file names. Windows and Mac users are advised to set this
- option to \c NO.
+ supports case sensitive file names. Windows (including Cygwin) ands
+ Mac users are advised to set this option to \c NO.
]]>
</docs>
</option>
diff --git a/src/portable.cpp b/src/portable.cpp
index baf79c9..e2bdf6e 100644
--- a/src/portable.cpp
+++ b/src/portable.cpp
@@ -396,7 +396,7 @@ const char *portable_commandExtension()
bool portable_fileSystemIsCaseSensitive()
{
-#if defined(_WIN32) || defined(macintosh) || defined(__MACOSX__) || defined(__APPLE__)
+#if defined(_WIN32) || defined(macintosh) || defined(__MACOSX__) || defined(__APPLE__) || defined(__CYGWIN__)
return FALSE;
#else
return TRUE;
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