aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/environment.py b/environment.py
index cbf9352..84768f1 100644
--- a/environment.py
+++ b/environment.py
@@ -733,6 +733,9 @@ def find_cppcheck():
def is_osx():
return platform.system().lower() == 'darwin'
+def is_linux():
+ return platform.system().lower() == 'linux'
+
def is_windows():
return platform.system().lower() == 'windows'