Add is_haiku(), needed for run_tests.py.

pull/2317/head
Jérôme Duval 8 years ago committed by Jussi Pakkanen
parent 7de61aac12
commit 0b8db94065
  1. 3
      mesonbuild/mesonlib.py

@ -215,6 +215,9 @@ def is_osx():
def is_linux():
return platform.system().lower() == 'linux'
def is_haiku():
return platform.system().lower() == 'haiku'
def is_windows():
platname = platform.system().lower()
return platname == 'windows' or 'mingw' in platname

Loading…
Cancel
Save