Skip to content
Snippets Groups Projects
Unverified Commit 011943c4 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

lrc: setenv only on GNU/Linux

Change-Id: I6e324b3d9e283a05d959ec33620d9e2e29066353
parent 8a3ad543
Branches
Tags
No related merge requests found
......@@ -71,8 +71,10 @@ Lrc::Lrc(MigrationCb willDoMigrationCb, MigrationCb didDoMigrationCb, bool muteD
// Replace locale for timestamps
std::locale::global(std::locale(""));
#else
#ifdef Q_OS_LINUX
if (!getenv("JAMI_DISABLE_SHM"))
setenv("JAMI_DISABLE_SHM", "1", true);
#endif
#endif
// Ensure Daemon is running/loaded (especially on non-DBus platforms)
// before instantiating LRC and its members
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment