dirty buildfix for linux, can do it properly later.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1193 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
544838a5d1
commit
75017d0957
|
@ -75,7 +75,11 @@ bool remoteTcpInit()
|
||||||
|
|
||||||
remoteListenSocket = s;
|
remoteListenSocket = s;
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
if(s == INVALID_SOCKET) {
|
if(s == INVALID_SOCKET) {
|
||||||
|
#else
|
||||||
|
if(s < 0) {
|
||||||
|
#endif
|
||||||
fprintf(stderr,"Error opening socket\n");
|
fprintf(stderr,"Error opening socket\n");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue