summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2021-03-19 09:55:38 (GMT)
committeralbert-github <albert.tests@gmail.com>2021-03-19 09:55:38 (GMT)
commit74d0d9fbdd1b9c4f3f93370023566299c272f6e5 (patch)
tree5f81445311b8c0f3627e919ff238f24f0860f33a
parent236a4850f55c82d8fa345d383092ececf8689c5e (diff)
downloadDoxygen-74d0d9fbdd1b9c4f3f93370023566299c272f6e5.zip
Doxygen-74d0d9fbdd1b9c4f3f93370023566299c272f6e5.tar.gz
Doxygen-74d0d9fbdd1b9c4f3f93370023566299c272f6e5.tar.bz2
Building Cygwin version of doxygen fails
The ghc filesystem does not support, resulting in: ``` .../src/filesystem.hpp:76:2: error: #error "Operating system currently not supported! 76 | #error "Operating system currently not supported!" | ^~~~~ ``` Added Cygwin in selection of supported "GHC_OS_DETECTED".
-rw-r--r--src/filesystem.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filesystem.hpp b/src/filesystem.hpp
index bdb174a..fffec69 100644
--- a/src/filesystem.hpp
+++ b/src/filesystem.hpp
@@ -54,7 +54,7 @@
#ifndef GHC_OS_DETECTED
#if defined(__APPLE__) && defined(__MACH__)
#define GHC_OS_MACOS
-#elif defined(__linux__)
+#elif defined(__linux__) || defined(__CYGWIN__)
#define GHC_OS_LINUX
#if defined(__ANDROID__)
#define GHC_OS_ANDROID