From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../third_party/nICEr/non-unified-build.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 dom/media/webrtc/transport/third_party/nICEr/non-unified-build.patch (limited to 'dom/media/webrtc/transport/third_party/nICEr/non-unified-build.patch') diff --git a/dom/media/webrtc/transport/third_party/nICEr/non-unified-build.patch b/dom/media/webrtc/transport/third_party/nICEr/non-unified-build.patch new file mode 100644 index 0000000000..41f206e67a --- /dev/null +++ b/dom/media/webrtc/transport/third_party/nICEr/non-unified-build.patch @@ -0,0 +1,40 @@ +diff --git a/src/net/nr_socket_wrapper.c b/src/net/nr_socket_wrapper.c +index 0c9ec5674407d..4ad59527c12ec 100644 +--- a/src/net/nr_socket_wrapper.c ++++ b/src/net/nr_socket_wrapper.c +@@ -36,6 +36,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + #include + #include "nr_socket_wrapper.h" + ++#include ++ + int nr_socket_wrapper_factory_create_int(void *obj, nr_socket_wrapper_factory_vtbl *vtbl, + nr_socket_wrapper_factory **wrapperp) + { +diff --git a/src/net/transport_addr.h b/nICEr/src/net/transport_addr.h +index c75c70a1d94fa..1783d2e4506a8 100644 +--- a/src/net/transport_addr.h ++++ b/src/net/transport_addr.h +@@ -38,7 +38,22 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + #include + #include + #ifdef WIN32 ++ ++// FIXME: This is dangerous, but exactly the pattern used in ++// nrappkit/src/port/win32/include/csi_platform.h ++// Not good because INT8 are typedefed to different values in ++// and . ++// { ++ ++#define UINT8 UBLAH_IGNORE_ME_PLEASE ++#define INT8 BLAH_IGNORE_ME_PLEASE + #include ++#undef UINT8 ++#undef INT8 ++#include ++ ++// } ++ + #include + #else + #include -- cgit v1.2.3