From: Kitae Kim Date: Fri, 17 Oct 2014 07:46:19 +0000 (+0900) Subject: eventcast: fix build error on Mac OS X. X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.1~222^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=590f0c60729946d491c437aaa2f4294a36c468a9;p=sdk%2Femulator%2Fqemu.git eventcast: fix build error on Mac OS X. CONFIG_SHM is not defined. It causes duplicated symbol declaration. Change-Id: I4bbd1b8f9d609526f071ea71fd1a47752ee6c7de Signed-off-by: Kitae Kim --- diff --git a/tizen/src/eventcast/encode_fb.c b/tizen/src/eventcast/encode_fb.c index 414d1df2f9..77d9cefbd1 100644 --- a/tizen/src/eventcast/encode_fb.c +++ b/tizen/src/eventcast/encode_fb.c @@ -47,7 +47,7 @@ DECLARE_DEBUG_CHANNEL(app_tethering); -#if !defined(CONFIG_SDL) || (!defined(CONFIG_SHM) && defined(CONFIG_DARWIN)) +#if !defined(CONFIG_SDL) && !defined(CONFIG_USE_SHM) bool maru_extract_framebuffer(void *buffer) { LOG_INFO("SDL or SHM module is not enabled");