aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/porting.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/porting.cpp b/src/porting.cpp
index 86d5bf5da..812f148da 100644
--- a/src/porting.cpp
+++ b/src/porting.cpp
@@ -369,7 +369,7 @@ void initializePaths()
/*
Linux
*/
- #elif defined(linux)
+ #elif defined(linux) || defined(__linux)
char buf[BUFSIZ];
memset(buf, 0, BUFSIZ);
@@ -465,7 +465,7 @@ void initializePaths()
/*
Linux
*/
- #elif defined(linux)
+ #elif defined(linux) || defined(__linux)
// Get path to executable
std::string bindir = "";