Commit 75eaecd4 authored by Simon Morlat's avatar Simon Morlat
Browse files

mingw build repaired.

parent d461e65b
......@@ -41,6 +41,8 @@ typedef long long int64_t;
typedef unsigned char uint8_t;
#define strcasecmp(a,b) _stricmp(a,b)
#define snprintf _snprintf
#else
#include <stdint.h>
#endif
/*AI_NUMERICSERV is not defined for windows XP. Since it is not essential, we define it to 0 (does nothing)*/
......
......@@ -32,7 +32,7 @@ typedef struct belle_sip_udp_channel belle_sip_udp_channel_t;
static void udp_channel_uninit(belle_sip_udp_channel_t *obj){
if (obj->sock!=-1)
close(obj->sock);
close_socket(obj->sock);
}
static int udp_channel_send(belle_sip_channel_t *obj, const void *buf, size_t buflen){
......
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