fix compile on windows

This commit is contained in:
heliclei 2014-02-24 15:05:20 +08:00
parent 4a2633933e
commit 5956c3a380
1 changed files with 1 additions and 1 deletions

View File

@ -800,7 +800,7 @@ void Console::loop()
}
#if (CC_TARGET_PLATFORM == CC_PLATFORM_WIN32)
closesocket(_listenfd)
closesocket(_listenfd);
WSACleanup();
#else
close(_listenfd);