aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorDavid Skoland <davidskoland@gmail.com>2018-11-15 23:11:12 +0100
committerDavid Skoland <davidskoland@gmail.com>2018-11-15 23:11:12 +0100
commite9eefee1da52701ea197431c8b61c5549038b740 (patch)
treed0c7fded1b0905d728db2bcf6a14bf100349a66f /main.cpp
parent3ef743da7b8071e0dc4b1189cbe131f65f11b5de (diff)
added extra define case in main.cpp for case-sensitive file systems
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/main.cpp b/main.cpp
index 5696e2e0..a690f3cf 100644
--- a/main.cpp
+++ b/main.cpp
@@ -8,6 +8,14 @@
#include <QDebug>
+//this is a quite broad generalization
+//the most common OSes(mac and windows) are _usually_ case insensitive
+//however, there do exist mac installations with case sensitive filesystems
+//in that case, define CASE_SENSITIVE_FILESYSTEM and compile on a mac
+#if (defined (LINUX) || defined (__linux__))
+#define CASE_SENSITIVE_FILESYSTEM
+#endif
+
int main(int argc, char *argv[])
{
#if QT_VERSION > QT_VERSION_CHECK(5, 6, 0)