Skip to content

Commit

Permalink
Teach utilsOsType about NetBSD
Browse files Browse the repository at this point in the history
Summary: NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system.

Reviewers: joerg, sas

Subscribers: sas, emaste, lldb-commits

Differential Revision: http://reviews.llvm.org/D12615

Change by Kamil Rytarowski <n54@gmx.com>

llvm-svn: 247116
  • Loading branch information
sas committed Sep 9, 2015
1 parent 851f23d commit 9c99115
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lldb/scripts/utilsOsType.py
Expand Up @@ -31,6 +31,7 @@ class EnumOsType( object ):
"Darwin",
"FreeBSD",
"Linux",
"NetBSD",
"Windows" ]
class __metaclass__( type ):
#++---------------------------------------------------------------------------
Expand Down Expand Up @@ -71,6 +72,8 @@ def determine_os_type():
eOSType = EnumOsType.FreeBSD
elif (strOS.startswith("linux")):
eOSType = EnumOsType.Linux
elif (strOS.startswith("netbsd")):
eOSType = EnumOsType.NetBSD
elif strOS == "win32":
eOSType = EnumOsType.Windows

Expand Down

0 comments on commit 9c99115

Please sign in to comment.