mirror of
https://github.com/wolfpld/tracy
synced 2025-04-30 04:43:53 +00:00
Expose InitWinSock().
This commit is contained in:
parent
6224daf9c9
commit
716166bc3a
@ -45,10 +45,9 @@ struct __wsinit
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static __wsinit InitWinSock()
|
void InitWinSock()
|
||||||
{
|
{
|
||||||
static __wsinit init;
|
static __wsinit init;
|
||||||
return init;
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -8,6 +8,10 @@ struct timeval;
|
|||||||
namespace tracy
|
namespace tracy
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#ifdef _MSC_VER
|
||||||
|
void InitWinSock();
|
||||||
|
#endif
|
||||||
|
|
||||||
class Socket
|
class Socket
|
||||||
{
|
{
|
||||||
enum { BufSize = 128 * 1024 };
|
enum { BufSize = 128 * 1024 };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user