Add to check the EXPORT_API define
authorSunwook Bae <sunwook45.bae@samsung.com>
Tue, 13 Aug 2013 00:33:46 +0000 (09:33 +0900)
committerSunwook Bae <sunwook45.bae@samsung.com>
Tue, 13 Aug 2013 00:33:46 +0000 (09:33 +0900)
Change-Id: I17c525c6c4a512a4e7991cfcf12fadcba0bea3ca
Signed-off-by: Sunwook Bae <sunwook45.bae@samsung.com>
include/message-port.h

index a71ef93..6b194f9 100755 (executable)
@@ -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