Fixed windows (VS) build

parent 961e5099
......@@ -282,6 +282,10 @@
RelativePath="..\..\src\utils.c"
>
</File>
<File
RelativePath="..\..\src\zrtp.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
......@@ -376,6 +380,10 @@
RelativePath="..\..\src\utils.h"
>
</File>
<File
RelativePath="..\..\include\zrtp.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
......
......@@ -192,6 +192,12 @@ void ortp_global_stats_display(void);
void rtp_stats_display(const rtp_stats_t *stats, const char *header);
void rtp_stats_reset(rtp_stats_t *stats);
#if defined(_MSC_VER)
#define ORTP_PUBLIC __declspec(dllexport)
#else
#define ORTP_PUBLIC
#endif
#ifdef __cplusplus
}
#endif
......
......@@ -68,12 +68,12 @@ typedef struct OrtpZrtpParams {
typedef struct _OrtpZrtpContext OrtpZrtpContext ;
OrtpZrtpContext* ortp_zrtp_context_new(RtpSession *s, OrtpZrtpParams *params);
bool_t ortp_zrtp_available();
void ortp_zrtp_sas_verified(OrtpZrtpContext* ctx);
void ortp_zrtp_sas_reset_verified(OrtpZrtpContext* ctx);
ORTP_PUBLIC OrtpZrtpContext* ortp_zrtp_context_new(RtpSession *s, OrtpZrtpParams *params);
ORTP_PUBLIC bool_t ortp_zrtp_available();
ORTP_PUBLIC void ortp_zrtp_sas_verified(OrtpZrtpContext* ctx);
ORTP_PUBLIC void ortp_zrtp_sas_reset_verified(OrtpZrtpContext* ctx);
void ortp_zrtp_context_destroy(OrtpZrtpContext *ctx);
ORTP_PUBLIC void ortp_zrtp_context_destroy(OrtpZrtpContext *ctx);
#ifdef __cplusplus
......
......@@ -28,7 +28,5 @@
/* define the debug mode */
#define RTP_DEBUG 1
#define HAVE_SRTP 1
/* enables SO_REUSEADDR socket option in the rtp_session_set_local_addr() function */
#define SO_REUSE_ADDR 1
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