mirror of https://github.com/axmolengine/axmol.git
fix compile on windows
This commit is contained in:
parent
4a2633933e
commit
5956c3a380
|
@ -800,7 +800,7 @@ void Console::loop()
|
|||
}
|
||||
|
||||
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
|
||||
closesocket(_listenfd)
|
||||
closesocket(_listenfd);
|
||||
WSACleanup();
|
||||
#else
|
||||
close(_listenfd);
|
||||
|
|
Loading…
Reference in New Issue