1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

Expose InitWinSock().

This commit is contained in:
Bartosz Taudul 2018-08-19 17:45:03 +02:00
parent 6224daf9c9
commit 716166bc3a
2 changed files with 5 additions and 2 deletions

View File

@ -45,10 +45,9 @@ struct __wsinit
}
};
static __wsinit InitWinSock()
void InitWinSock()
{
static __wsinit init;
return init;
}
#endif

View File

@ -8,6 +8,10 @@ struct timeval;
namespace tracy
{
#ifdef _MSC_VER
void InitWinSock();
#endif
class Socket
{
enum { BufSize = 128 * 1024 };