- fix Windows build issues

This commit is contained in:
2026-02-26 13:33:29 +03:00
parent 8eb6447164
commit 549eb93db7
10 changed files with 24 additions and 29 deletions

View File

@@ -3,8 +3,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#define NOMINMAX
#include "ICEPlatform.h"
#include "ICEByteBuffer.h"
#include "ICEError.h"

View File

@@ -1,4 +1,4 @@
/* Copyright(C) 2007-2014 VoIP objects (voipobjects.com)
/* Copyright(C) 2007-2026 VoIP objects (voipobjects.com)
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
@@ -6,11 +6,8 @@
#ifndef __ICE_TYPES_H
#define __ICE_TYPES_H
#include <stdint.h>
//#define INVALID_SOCKET (-1)
# ifndef SOCKET
#if !defined(TARGET_WIN) && !defined(SOCKET)
# define SOCKET int
# endif
#endif
#endif