From f35c4af281ffca3fc8ec066269ba656c0e2ec2aa Mon Sep 17 00:00:00 2001 From: Sunwook Bae Date: Tue, 13 Aug 2013 09:33:46 +0900 Subject: [PATCH] Add to check the EXPORT_API define Change-Id: I17c525c6c4a512a4e7991cfcf12fadcba0bea3ca Signed-off-by: Sunwook Bae --- include/message-port.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/message-port.h b/include/message-port.h index a71ef93..6b194f9 100755 --- a/include/message-port.h +++ b/include/message-port.h @@ -20,7 +20,9 @@ #define __APPFW_MESSAGE_PORT_H__ #ifdef __GNUC__ -# define EXPORT_API __attribute__((visibility("default"))) +# ifndef EXPORT_API +# define EXPORT_API __attribute__((visibility("default"))) +# endif #else # define EXPORT_API #endif -- 2.7.4