Distrib things,
Typos in dynarray.h, Removed C++ comments from code, Added a few #ifdef wxUSE_XXX git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -101,7 +101,7 @@ GSocket *GSocket_new()
|
||||
socket->m_gui_dependent = NULL;
|
||||
socket->m_blocking = FALSE;
|
||||
socket->m_timeout = 10*60*1000;
|
||||
// 10 minutes * 60 sec * 1000 millisec
|
||||
/* 10 minutes * 60 sec * 1000 millisec */
|
||||
|
||||
/* We initialize the GUI specific entries here */
|
||||
_GSocket_GUI_Init(socket);
|
||||
@@ -1150,4 +1150,5 @@ GSocketError GAddress_UNIX_GetPath(GAddress *address, char *path, size_t sbuf)
|
||||
return GSOCK_NOERROR;
|
||||
}
|
||||
|
||||
#endif // wxUSE_SOCKETS
|
||||
#endif
|
||||
/* wxUSE_SOCKETS */
|
||||
|
@@ -8,7 +8,16 @@
|
||||
#ifndef __GSOCK_UNX_H
|
||||
#define __GSOCK_UNX_H
|
||||
|
||||
#include <wx/gsocket.h>
|
||||
#include "wx/setup.h"
|
||||
|
||||
#if wxUSE_SOCKETS
|
||||
|
||||
#include "wx/gsocket.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
/* Definition of GSocket */
|
||||
struct _GSocket {
|
||||
@@ -66,4 +75,12 @@ GSocketError _GAddress_Init_INET(GAddress *address);
|
||||
/* Local address family */
|
||||
GSocketError _GAddress_Init_UNIX(GAddress *address);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#endif
|
||||
/* wxUSE_SOCKETS */
|
||||
|
||||
#endif
|
||||
/* __GSOCK_UNX_H */
|
||||
|
Reference in New Issue
Block a user