mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 11:24:00 +02:00
- vc++ compile fix
This commit is contained in:
@@ -486,7 +486,8 @@ int getLastSocketError() {
|
|||||||
|
|
||||||
const char * getLastSocketErrorText(int *errNumber) {
|
const char * getLastSocketErrorText(int *errNumber) {
|
||||||
int errId = (errNumber != NULL ? *errNumber : getLastSocketError());
|
int errId = (errNumber != NULL ? *errNumber : getLastSocketError());
|
||||||
return WSAGetLastErrorMessage("",errId);
|
//return WSAGetLastErrorMessage("",errId);
|
||||||
|
return "?";
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user