powerkey popup : to fix compile error 59/118159/2 accepted/tizen/common/20170309.175533 accepted/tizen/mobile/20170310.032336 accepted/tizen/tv/20170310.032350 accepted/tizen/unified/20170310.080608 accepted/tizen/wearable/20170310.032357 submit/tizen/20170309.074716 submit/tizen_unified/20170310.011402
authorlokilee73 <changjoo.lee@samsung.com>
Thu, 9 Mar 2017 05:07:26 +0000 (14:07 +0900)
committerlokilee73 <changjoo.lee@samsung.com>
Thu, 9 Mar 2017 06:37:33 +0000 (15:37 +0900)
Change-Id: I3661d37d7ebe1dbec58934fc627dde8af51dc85c
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
CMakeLists.txt
src/common/popup-common.h

index b23bd51..a0d2ee3 100755 (executable)
@@ -30,6 +30,14 @@ IF(PROFILE STREQUAL tv)
        OPTION(PROFILE_TV "TV device" ON)
        ADD_DEFINITIONS("-DPROFILE_TV=\"${PROFILE_TV}\"")
 ENDIF()
+IF(PROFILE STREQUAL ivi)
+       OPTION(PROFILE_IVI "IVI device" ON)
+       ADD_DEFINITIONS("-DPROFILE_IVI=\"${PROFILE_IVI}\"")
+ENDIF()
+IF(PROFILE STREQUAL common)
+       OPTION(PROFILE_COMMON "COMMON device" ON)
+       ADD_DEFINITIONS("-DPROFILE_COMMON=\"${PROFILE_COMMON}\"")
+ENDIF()
 
 SET(COMMON_DIR "${CMAKE_SOURCE_DIR}/src/common")
 SET(COMMON_SRCS
index ccd23a5..bd93621 100755 (executable)
@@ -66,7 +66,11 @@ typedef struct appdata {
        Evas_Object *popup;
        Evas_Object *button;
 /* Need updates of efl-ext for Tizen 4.0 */
+#if !defined PROFILE_MOBILE && !defined PROFILE_IVI && !defined PROFILE_COMMON && !defined PROFILE_TV
        Eext_Circle_Surface *circle_surface;
+#else
+       void *circle_surface;
+#endif
        struct tm saved_time;
 /* Used by Mobile Profile */
        Evas_Object *fb;