stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=f9ff0cd6dd0bc79e3fe0d0b88c98b9ad4e6ef519
commit f9ff0cd6dd0bc79e3fe0d0b88c98b9ad4e6ef519 Author: Stefan Schmidt <ste...@osg.samsung.com> Date: Thu Jul 28 16:50:12 2016 +0200 elm: sys_notify: add guards to inlcude eo and legacy header only when allowed Make sure the eo and legacy headers arte onl yincluded when the matching defines are enabled. --- src/lib/elementary/elm_sys_notify.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/elementary/elm_sys_notify.h b/src/lib/elementary/elm_sys_notify.h index 4534838..30f5c9b 100644 --- a/src/lib/elementary/elm_sys_notify.h +++ b/src/lib/elementary/elm_sys_notify.h @@ -3,10 +3,14 @@ typedef void (*Elm_Sys_Notify_Send_Cb)(void *data, unsigned int id); +#ifdef EFL_EO_API_SUPPORT #include "elm_sys_notify_interface.eo.h" -#include "elm_sys_notify_interface.eo.legacy.h" #include "elm_sys_notify.eo.h" +#endif +#ifndef EFL_NOLEGACY_API_SUPPORT +#include "elm_sys_notify_interface.eo.legacy.h" #include "elm_sys_notify.eo.legacy.h" +#endif /** * Emitted when the signal NotificationClosed is received. --