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 = "";