forked from enlightenment/efl
ecore - systemd - missed an ifdef for sytemd disable
This commit is contained in:
parent
3ade45cbc8
commit
43f5b271e4
|
@ -1191,11 +1191,13 @@ _ecore_main_loop_begin(Eo *obj, Efl_Loop_Data *pd)
|
||||||
pd->loop_active++;
|
pd->loop_active++;
|
||||||
if (obj == ML_OBJ)
|
if (obj == ML_OBJ)
|
||||||
{
|
{
|
||||||
|
#ifdef HAVE_SYSTEMD
|
||||||
if (getenv("NOTIFY_SOCKET"))
|
if (getenv("NOTIFY_SOCKET"))
|
||||||
{
|
{
|
||||||
_ecore_sd_init();
|
_ecore_sd_init();
|
||||||
if (_ecore_sd_notify) _ecore_sd_notify(0, "READY=1");
|
if (_ecore_sd_notify) _ecore_sd_notify(0, "READY=1");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#ifdef HAVE_LIBUV
|
#ifdef HAVE_LIBUV
|
||||||
if (!_dl_uv_run)
|
if (!_dl_uv_run)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue