]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/sckipc.cpp
blind fix for latest mingw32 3.1
[wxWidgets.git] / src / common / sckipc.cpp
index 372c1d627e2ee2572f6a4af3e1c752aca6e26ddf..822f96397e9cfe96167ce490ed26d2e05accd2f3 100644 (file)
@@ -321,7 +321,7 @@ wxTCPServer::~wxTCPServer()
 #ifdef __UNIX_LIKE__
     if ( !m_filename.empty() )
     {
-        if ( !remove(m_filename) )
+        if ( remove(m_filename) != 0 )
         {
             wxLogDebug(_T("Stale AF_UNIX file '%s' left."), m_filename.c_str());
         }