Expose InitWinSock().

This commit is contained in:
Bartosz Taudul
2018-08-19 18:15:46 +02:00
parent 6224daf9c9
commit 716166bc3a
2 changed files with 5 additions and 2 deletions
+1 -2
View File
@@ -45,10 +45,9 @@ struct __wsinit
}
};
static __wsinit InitWinSock()
void InitWinSock()
{
static __wsinit init;
return init;
}
#endif
+4
View File
@@ -8,6 +8,10 @@ struct timeval;
namespace tracy
{
#ifdef _MSC_VER
void InitWinSock();
#endif
class Socket
{
enum { BufSize = 128 * 1024 };