forked from len0rd/rockbox
rbutil fixes for OpenBSD (FS#9340 by Brian Waichunas).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19417 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6340a4c9ed
commit
e2b69ddffb
3 changed files with 22 additions and 3 deletions
|
|
@ -41,7 +41,7 @@ void EncExesGui::showCfg(QString name)
|
|||
{
|
||||
|
||||
// try to autodetect encoder
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MACX)
|
||||
#if defined(Q_OS_LINUX) || defined(Q_OS_MACX) || defined(Q_OS_OPENBSD)
|
||||
QStringList path = QString(getenv("PATH")).split(":", QString::SkipEmptyParts);
|
||||
#elif defined(Q_OS_WIN)
|
||||
QStringList path = QString(getenv("PATH")).split(";", QString::SkipEmptyParts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue