Skip to content
Snippets Groups Projects
Verified Commit 3d7cf0e4 authored by Marco Simonelli's avatar Marco Simonelli Committed by Pier Angelo Vendrame
Browse files

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

- fixes required to build third_party/sipcc
parent 69d98181
No related branches found
No related tags found
2 merge requests!1202Bug_43099: 2024 YEC Strings,!1136Bug 43085: Rebased alpha onto 128.2.0esr
......@@ -40,15 +40,22 @@ 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
#endif
/*
* Define pid_t.
* Define pid_t for MSVC builds
*/
#if defined(_WIN32) && defined (_MSC_VER)
typedef int pid_t;
#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.
Finish editing this message first!
Please register or to comment