Changeset 1861

Show
Ignore:
Timestamp:
23/09/2007 21:17:01 (16 months ago)
Author:
chris
Message:

Compile fix for MSVC (Gary)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • box/chris/general/lib/server/SocketStream.cpp

    r1851 r1861  
    169169#endif 
    170170 
     171#ifdef WIN32 
    171172                BOX_ERROR("Failed to connect to socket (type " << Type << 
    172173                        ", name " << Name << ", port " << Port << "): " << 
    173                         #ifdef WIN32 
    174174                                GetErrorMessage(err) 
    175                         #else 
     175                        ); 
     176#else 
     177                BOX_ERROR("Failed to connect to socket (type " << Type << 
     178                        ", name " << Name << ", port " << Port << "): " << 
    176179                                strerror(err) << " (" << err << ")" 
    177                         #endif 
    178180                        ); 
     181#endif 
    179182 
    180183                mSocketHandle = INVALID_SOCKET_VALUE;