mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-08 15:55:46 +00:00
Fill Process on Windows
This commit is contained in:
@@ -6,6 +6,7 @@ using HttpUtils = Tesses::Framework::Http::HttpUtils;
|
||||
#if defined(TESSESFRAMEWORK_ENABLE_NETWORKING)
|
||||
|
||||
|
||||
|
||||
#if defined(GEKKO)
|
||||
|
||||
#define ss_family sin_family
|
||||
@@ -24,9 +25,11 @@ using HttpUtils = Tesses::Framework::Http::HttpUtils;
|
||||
#include <winsock2.h>
|
||||
#include <iphlpapi.h>
|
||||
#include <windows.h>
|
||||
#include <afunix.h>
|
||||
#undef min
|
||||
#pragma comment(lib, "ws2_32.lib")
|
||||
#else
|
||||
|
||||
extern "C" {
|
||||
#include <netinet/in.h>
|
||||
#include <netinet/tcp.h>
|
||||
|
||||
@@ -114,7 +114,7 @@ namespace Tesses::Framework::Streams {
|
||||
strm.Flush();
|
||||
|
||||
#if defined(_WIN32)
|
||||
delete buffer;
|
||||
delete[] buffer;
|
||||
#endif
|
||||
}
|
||||
Stream::~Stream()
|
||||
|
||||
Reference in New Issue
Block a user