mirror of
https://github.com/CPunch/Laika.git
synced 2025-10-20 22:00:20 +00:00
Linux: implemented laikaB_markRunning() & laikaB_unmarkRunning()
- switched to file locks as that's more discreet - tied to LAIKA_PERSISTENCE being defined
This commit is contained in:
@@ -1,6 +1,12 @@
|
||||
/* platform specific code for achieving persistence on windows */
|
||||
|
||||
#include <windows.h>
|
||||
#include "persist.h"
|
||||
#include "lconfig.h"
|
||||
|
||||
/* we want a semi-random mutex that is stable between similar builds,
|
||||
* so we use the GIT_VERSION as our mutex :D */
|
||||
#define LAIKA_MUTEX LAIKA_VERSION_COMMIT ".0"
|
||||
|
||||
/* check if laika is running as super-user */
|
||||
bool laikaB_checkRoot() {
|
||||
|
Reference in New Issue
Block a user