mirror of
https://github.com/clangen/musikcube.git
synced 2025-01-15 19:52:19 +00:00
Fixed daemon lock checking on BSD.
This commit is contained in:
parent
7fc95e553b
commit
b8fe116836
@ -23,10 +23,10 @@ using namespace musik::core;
|
|||||||
using namespace musik::core::audio;
|
using namespace musik::core::audio;
|
||||||
using namespace musik::core::runtime;
|
using namespace musik::core::runtime;
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __linux__
|
||||||
#define LOCKFILE "/tmp/musikcubed.lock"
|
|
||||||
#else
|
|
||||||
#define LOCKFILE "/var/lock/musikcubed.lock"
|
#define LOCKFILE "/var/lock/musikcubed.lock"
|
||||||
|
#else
|
||||||
|
#define LOCKFILE "/tmp/musikcubed.lock"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
bool exitIfRunning() {
|
bool exitIfRunning() {
|
||||||
|
Loading…
Reference in New Issue
Block a user