Commit 8d2ec56c authored by Ghislain MARY's avatar Ghislain MARY

Fix build with Visual Studio.

parent d69600fd
......@@ -45,13 +45,13 @@ typedef unsigned __int64 uint64_t;
#ifdef WIN32
#ifdef BELLESIP_EXPORTS
#define BELLESIP_EXPORT __declspec(dllexport)
//#define BELLESIP_VAR_EXPORT __declspec(dllexport)
#define BELLESIP_VAR_EXPORT __declspec(dllexport)
#else
#define BELLESIP_EXPORT
//#define BELLESIP_VAR_EXPORT extern __declspec(dllimport)
#define BELLESIP_VAR_EXPORT extern __declspec(dllimport)
#endif
#else
//#define BELLESIP_VAR_EXPORT extern
#define BELLESIP_VAR_EXPORT extern
#define BELLESIP_EXPORT extern
#endif
......
......@@ -68,9 +68,9 @@ typedef enum {
BELLE_SIP_BEGIN_DECLS
extern belle_sip_log_function_t belle_sip_logv_out;
BELLESIP_VAR_EXPORT belle_sip_log_function_t belle_sip_logv_out;
extern unsigned int __belle_sip_log_mask;
BELLESIP_VAR_EXPORT unsigned int __belle_sip_log_mask;
#define belle_sip_log_level_enabled(level) (__belle_sip_log_mask & (level))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment