Moved gsockunx.h from src/unix to include/wx/unix

Added include/wx/unix/gsockunx.h to Makefile.in


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Guilhem Lavaux 1999-09-06 19:06:46 +00:00
parent 63dcfc151b
commit 533c7161fc
3 changed files with 4 additions and 5 deletions

View File

@ -516,7 +516,8 @@ MSW_HEADERS = \
msw/xpmhand.h
UNIX_HEADERS = \
unix/execute.h
unix/execute.h \
unix/gsockunx.h
GENERIC_HEADERS = \
generic/caret.h \

View File

@ -43,7 +43,7 @@
#include <signal.h>
#include "wx/gsocket.h"
#include "gsockunx.h"
#include "wx/unix/gsockunx.h"
#ifndef SOCKLEN_T
@ -161,9 +161,7 @@ void GSocket_Shutdown(GSocket *socket)
/* If socket has been created, we shutdown it */
if (socket->m_fd != -1) {
/* Only oriented connection should be shutdowned */
if (socket->m_oriented)
shutdown(socket->m_fd, 2);
shutdown(socket->m_fd, 2);
close(socket->m_fd);
socket->m_fd = -1;
}