Skip to content
Snippets Groups Projects
Commit acfed910 authored by Marco Simonelli's avatar Marco Simonelli Committed by Richard Pospesel
Browse files

Bug 41459: WebRTC fails to build under mingw (Part 3)

- fixes required to build third_party/sipcc
parent 10c94cdc
No related branches found
No related tags found
1 merge request!460Bug 41459: WebRTC fails to build under mingw
......@@ -40,15 +40,25 @@ typedef uint8_t boolean;
* NOTE: size_t should already be declared by both the MinGW and Microsoft
* SDKs.
*/
#ifndef _SSIZE_T_
#if defined(_MSC_VER) && !defined(_SSIZE_T_)
#define _SSIZE_T_
typedef int ssize_t;
#if !defined(_WIN64)
typedef int32_t ssize_t;
#else
typedef int64_t ssize_t;
#endif
/*
* Define pid_t.
*/
#if defined(_WIN32)
#if defined(_MSC_VER) || !defined(_WIN64)
typedef int pid_t;
#else
typedef long long pid_t;
#endif
#endif
/*
* Define min/max
......
......
......@@ -4,6 +4,10 @@
#include <errno.h>
#if defined(SIP_OS_WINDOWS) && !defined(_MSC_VER)
#include <minmax.h>
#endif
#include "sdp_os_defs.h"
#include "sipcc_sdp.h"
#include "sdp_private.h"
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment