--- a/email_plat/contact_history_model_api/inc/nmcontacthistorymodelcommon.h Wed Sep 15 17:47:19 2010 +0300
+++ b/email_plat/contact_history_model_api/inc/nmcontacthistorymodelcommon.h Thu Sep 30 11:43:07 2010 +0300
@@ -23,10 +23,14 @@
PhoneNumberModel
};
- #if defined(NMCHMAPI_LIBRARY)
- #define NMCHMAPI_EXPORT Q_DECL_EXPORT
- #else
- #define NMCHMAPI_EXPORT Q_DECL_IMPORT
- #endif
+#if defined(NMCHMAPI_LIBRARY)
+# define NMCHMAPI_EXPORT Q_DECL_EXPORT
+#else
+# if defined(NMCHMAPI_LIBRARY_NO_LIBRARY)
+# define NMCHMAPI_EXPORT
+# else
+# define NMCHMAPI_EXPORT Q_DECL_IMPORT
+# endif
+#endif
#endif /* NMCONTACTHISTORYMODELCOMMONHEADERS_H_ */